Fossil SCM
no comment
Commit
5edfe089caa0c85e14abcff60b13b031bd914a5f
Parent
c98e4a47bd4b6a0…
1 file changed
+25
-25
+25
-25
| --- www/custom_ticket.wiki | ||
| +++ www/custom_ticket.wiki | ||
| @@ -9,11 +9,11 @@ | ||
| 9 | 9 | <h2>First modify the TICKET table</h2><blockquote> |
| 10 | 10 | <p> |
| 11 | 11 | Click on the "Admin" menu, then "Tickets", then "Table". After the other fields |
| 12 | 12 | and before the final ")", insert: |
| 13 | 13 | <pre> |
| 14 | - , | |
| 14 | + , | |
| 15 | 15 | assigned_to TEXT, |
| 16 | 16 | opened_by TEXT |
| 17 | 17 | </pre> |
| 18 | 18 | And "Apply Changes". You have just added two more fields to the ticket |
| 19 | 19 | database! NOTE: I won't tell you to "Apply Changes" after each step from here |
| @@ -25,12 +25,12 @@ | ||
| 25 | 25 | <p> |
| 26 | 26 | Back to the "Tickets" admin page, and click "Common". Add something like this: |
| 27 | 27 | <pre> |
| 28 | 28 | set assigned_choices { |
| 29 | 29 | tom |
| 30 | - dick | |
| 31 | - harriet | |
| 30 | + dick | |
| 31 | + harriet | |
| 32 | 32 | } |
| 33 | 33 | </pre> |
| 34 | 34 | Obviously, choose names corresponding to the logins on your system. |
| 35 | 35 | </p> |
| 36 | 36 | </blockquote> |
| @@ -48,19 +48,19 @@ | ||
| 48 | 48 | </pre> |
| 49 | 49 | Note the "set opened_by" bit -- that will automatically set the "opened_by" |
| 50 | 50 | field to the login name of the bug reporter. Now, skip to the part with "EMail" |
| 51 | 51 | and modify it like so: |
| 52 | 52 | <pre> |
| 53 | -<th1>enable_output [expr { "$login" eq "anonymous"}]</th1> | |
| 54 | -<tr> | |
| 55 | -<td align="right">EMail: | |
| 56 | -<input type="text" name="private_contact" value="$<private_contact>" size="30"> | |
| 57 | -</td> | |
| 58 | -<td><u>Not publicly visible</u>. Used by developers to contact you with | |
| 59 | -questions.</td> | |
| 60 | -</tr> | |
| 61 | -<th1>enable_output 1</th1> | |
| 53 | +<th1>enable_output [expr { "$login" eq "anonymous"}]</th1> | |
| 54 | +<tr> | |
| 55 | +<td align="right">EMail: | |
| 56 | +<input type="text" name="private_contact" value="$<private_contact>" size="30"> | |
| 57 | +</td> | |
| 58 | +<td><u>Not publicly visible</u>. Used by developers to contact you with | |
| 59 | +questions.</td> | |
| 60 | +</tr> | |
| 61 | +<th1>enable_output 1</th1> | |
| 62 | 62 | </pre> |
| 63 | 63 | This bit of code will get rid of the "email" field entry for logged-in users. |
| 64 | 64 | Since we know the user's information, we don't have to ask for it. NOTE: it |
| 65 | 65 | might be good to automatically scoop up the user's email and put it here. |
| 66 | 66 | </p> |
| @@ -70,16 +70,16 @@ | ||
| 70 | 70 | <p> |
| 71 | 71 | Look for the text "Contact:" (about halfway through). Then insert these lines |
| 72 | 72 | after the closing tr tag and before the "enable_output" line: |
| 73 | 73 | <pre> |
| 74 | 74 | <tr> |
| 75 | - <td align="right">Assigned to:</td><td bgcolor="#d0d0d0"> | |
| 76 | - $<assigned_to> | |
| 77 | - </td> | |
| 78 | - <td align="right">Opened by:</td><td bgcolor="#d0d0d0"> | |
| 79 | - $<opened_by> | |
| 80 | - </td> | |
| 75 | + <td align="right">Assigned to:</td><td bgcolor="#d0d0d0"> | |
| 76 | + $<assigned_to> | |
| 77 | + </td> | |
| 78 | + <td align="right">Opened by:</td><td bgcolor="#d0d0d0"> | |
| 79 | + $<opened_by> | |
| 80 | + </td> | |
| 81 | 81 | </pre> |
| 82 | 82 | This will add a row which displays these two fields, in the event the user has |
| 83 | 83 | "edit" capability. |
| 84 | 84 | </p> |
| 85 | 85 | </blockquote> |
| @@ -86,21 +86,21 @@ | ||
| 86 | 86 | |
| 87 | 87 | <h2>Modify the 'edit ticket' page</h2><blockquote> |
| 88 | 88 | <p> |
| 89 | 89 | Before the "Severity:" line, add this: |
| 90 | 90 | <pre> |
| 91 | -<tr><td align="right">Assigned to:</td><td> | |
| 92 | -<th1>combobox assigned_to $assigned_choices 1</th1> | |
| 93 | -</td></tr> | |
| 91 | +<tr><td align="right">Assigned to:</td><td> | |
| 92 | +<th1>combobox assigned_to $assigned_choices 1</th1> | |
| 93 | +</td></tr> | |
| 94 | 94 | </pre> |
| 95 | 95 | That will give you a drop-down list of assignees. Now, similar to the previous |
| 96 | 96 | section, look for "Contact:" and add this: |
| 97 | 97 | <pre> |
| 98 | - <tr><td align="right">Reported by:</td><td> | |
| 99 | - <input type="text" name="opened_by" size="40" | |
| 100 | - value="$<opened_by>"> | |
| 101 | - </td></tr> | |
| 98 | + <tr><td align="right">Reported by:</td><td> | |
| 99 | + <input type="text" name="opened_by" size="40" | |
| 100 | + value="$<opened_by>"> | |
| 101 | + </td></tr> | |
| 102 | 102 | </pre> |
| 103 | 103 | </p> |
| 104 | 104 | </blockquote> |
| 105 | 105 | |
| 106 | 106 | <h2>What next?</h2><blockquote> |
| 107 | 107 |
| --- www/custom_ticket.wiki | |
| +++ www/custom_ticket.wiki | |
| @@ -9,11 +9,11 @@ | |
| 9 | <h2>First modify the TICKET table</h2><blockquote> |
| 10 | <p> |
| 11 | Click on the "Admin" menu, then "Tickets", then "Table". After the other fields |
| 12 | and before the final ")", insert: |
| 13 | <pre> |
| 14 | , |
| 15 | assigned_to TEXT, |
| 16 | opened_by TEXT |
| 17 | </pre> |
| 18 | And "Apply Changes". You have just added two more fields to the ticket |
| 19 | database! NOTE: I won't tell you to "Apply Changes" after each step from here |
| @@ -25,12 +25,12 @@ | |
| 25 | <p> |
| 26 | Back to the "Tickets" admin page, and click "Common". Add something like this: |
| 27 | <pre> |
| 28 | set assigned_choices { |
| 29 | tom |
| 30 | dick |
| 31 | harriet |
| 32 | } |
| 33 | </pre> |
| 34 | Obviously, choose names corresponding to the logins on your system. |
| 35 | </p> |
| 36 | </blockquote> |
| @@ -48,19 +48,19 @@ | |
| 48 | </pre> |
| 49 | Note the "set opened_by" bit -- that will automatically set the "opened_by" |
| 50 | field to the login name of the bug reporter. Now, skip to the part with "EMail" |
| 51 | and modify it like so: |
| 52 | <pre> |
| 53 | <th1>enable_output [expr { "$login" eq "anonymous"}]</th1> |
| 54 | <tr> |
| 55 | <td align="right">EMail: |
| 56 | <input type="text" name="private_contact" value="$<private_contact>" size="30"> |
| 57 | </td> |
| 58 | <td><u>Not publicly visible</u>. Used by developers to contact you with |
| 59 | questions.</td> |
| 60 | </tr> |
| 61 | <th1>enable_output 1</th1> |
| 62 | </pre> |
| 63 | This bit of code will get rid of the "email" field entry for logged-in users. |
| 64 | Since we know the user's information, we don't have to ask for it. NOTE: it |
| 65 | might be good to automatically scoop up the user's email and put it here. |
| 66 | </p> |
| @@ -70,16 +70,16 @@ | |
| 70 | <p> |
| 71 | Look for the text "Contact:" (about halfway through). Then insert these lines |
| 72 | after the closing tr tag and before the "enable_output" line: |
| 73 | <pre> |
| 74 | <tr> |
| 75 | <td align="right">Assigned to:</td><td bgcolor="#d0d0d0"> |
| 76 | $<assigned_to> |
| 77 | </td> |
| 78 | <td align="right">Opened by:</td><td bgcolor="#d0d0d0"> |
| 79 | $<opened_by> |
| 80 | </td> |
| 81 | </pre> |
| 82 | This will add a row which displays these two fields, in the event the user has |
| 83 | "edit" capability. |
| 84 | </p> |
| 85 | </blockquote> |
| @@ -86,21 +86,21 @@ | |
| 86 | |
| 87 | <h2>Modify the 'edit ticket' page</h2><blockquote> |
| 88 | <p> |
| 89 | Before the "Severity:" line, add this: |
| 90 | <pre> |
| 91 | <tr><td align="right">Assigned to:</td><td> |
| 92 | <th1>combobox assigned_to $assigned_choices 1</th1> |
| 93 | </td></tr> |
| 94 | </pre> |
| 95 | That will give you a drop-down list of assignees. Now, similar to the previous |
| 96 | section, look for "Contact:" and add this: |
| 97 | <pre> |
| 98 | <tr><td align="right">Reported by:</td><td> |
| 99 | <input type="text" name="opened_by" size="40" |
| 100 | value="$<opened_by>"> |
| 101 | </td></tr> |
| 102 | </pre> |
| 103 | </p> |
| 104 | </blockquote> |
| 105 | |
| 106 | <h2>What next?</h2><blockquote> |
| 107 |
| --- www/custom_ticket.wiki | |
| +++ www/custom_ticket.wiki | |
| @@ -9,11 +9,11 @@ | |
| 9 | <h2>First modify the TICKET table</h2><blockquote> |
| 10 | <p> |
| 11 | Click on the "Admin" menu, then "Tickets", then "Table". After the other fields |
| 12 | and before the final ")", insert: |
| 13 | <pre> |
| 14 | , |
| 15 | assigned_to TEXT, |
| 16 | opened_by TEXT |
| 17 | </pre> |
| 18 | And "Apply Changes". You have just added two more fields to the ticket |
| 19 | database! NOTE: I won't tell you to "Apply Changes" after each step from here |
| @@ -25,12 +25,12 @@ | |
| 25 | <p> |
| 26 | Back to the "Tickets" admin page, and click "Common". Add something like this: |
| 27 | <pre> |
| 28 | set assigned_choices { |
| 29 | tom |
| 30 | dick |
| 31 | harriet |
| 32 | } |
| 33 | </pre> |
| 34 | Obviously, choose names corresponding to the logins on your system. |
| 35 | </p> |
| 36 | </blockquote> |
| @@ -48,19 +48,19 @@ | |
| 48 | </pre> |
| 49 | Note the "set opened_by" bit -- that will automatically set the "opened_by" |
| 50 | field to the login name of the bug reporter. Now, skip to the part with "EMail" |
| 51 | and modify it like so: |
| 52 | <pre> |
| 53 | <th1>enable_output [expr { "$login" eq "anonymous"}]</th1> |
| 54 | <tr> |
| 55 | <td align="right">EMail: |
| 56 | <input type="text" name="private_contact" value="$<private_contact>" size="30"> |
| 57 | </td> |
| 58 | <td><u>Not publicly visible</u>. Used by developers to contact you with |
| 59 | questions.</td> |
| 60 | </tr> |
| 61 | <th1>enable_output 1</th1> |
| 62 | </pre> |
| 63 | This bit of code will get rid of the "email" field entry for logged-in users. |
| 64 | Since we know the user's information, we don't have to ask for it. NOTE: it |
| 65 | might be good to automatically scoop up the user's email and put it here. |
| 66 | </p> |
| @@ -70,16 +70,16 @@ | |
| 70 | <p> |
| 71 | Look for the text "Contact:" (about halfway through). Then insert these lines |
| 72 | after the closing tr tag and before the "enable_output" line: |
| 73 | <pre> |
| 74 | <tr> |
| 75 | <td align="right">Assigned to:</td><td bgcolor="#d0d0d0"> |
| 76 | $<assigned_to> |
| 77 | </td> |
| 78 | <td align="right">Opened by:</td><td bgcolor="#d0d0d0"> |
| 79 | $<opened_by> |
| 80 | </td> |
| 81 | </pre> |
| 82 | This will add a row which displays these two fields, in the event the user has |
| 83 | "edit" capability. |
| 84 | </p> |
| 85 | </blockquote> |
| @@ -86,21 +86,21 @@ | |
| 86 | |
| 87 | <h2>Modify the 'edit ticket' page</h2><blockquote> |
| 88 | <p> |
| 89 | Before the "Severity:" line, add this: |
| 90 | <pre> |
| 91 | <tr><td align="right">Assigned to:</td><td> |
| 92 | <th1>combobox assigned_to $assigned_choices 1</th1> |
| 93 | </td></tr> |
| 94 | </pre> |
| 95 | That will give you a drop-down list of assignees. Now, similar to the previous |
| 96 | section, look for "Contact:" and add this: |
| 97 | <pre> |
| 98 | <tr><td align="right">Reported by:</td><td> |
| 99 | <input type="text" name="opened_by" size="40" |
| 100 | value="$<opened_by>"> |
| 101 | </td></tr> |
| 102 | </pre> |
| 103 | </p> |
| 104 | </blockquote> |
| 105 | |
| 106 | <h2>What next?</h2><blockquote> |
| 107 |