Fossil SCM

no comment

ron 2010-02-18 13:47 trunk
Commit 5edfe089caa0c85e14abcff60b13b031bd914a5f
1 file changed +25 -25
--- www/custom_ticket.wiki
+++ www/custom_ticket.wiki
@@ -9,11 +9,11 @@
99
<h2>First modify the TICKET table</h2><blockquote>
1010
<p>
1111
Click on the "Admin" menu, then "Tickets", then "Table". After the other fields
1212
and before the final ")", insert:
1313
<pre>
14
- ,
14
+ ,
1515
assigned_to TEXT,
1616
opened_by TEXT
1717
</pre>
1818
And "Apply Changes". You have just added two more fields to the ticket
1919
database! NOTE: I won't tell you to "Apply Changes" after each step from here
@@ -25,12 +25,12 @@
2525
<p>
2626
Back to the "Tickets" admin page, and click "Common". Add something like this:
2727
<pre>
2828
set assigned_choices {
2929
tom
30
- dick
31
- harriet
30
+ dick
31
+ harriet
3232
}
3333
</pre>
3434
Obviously, choose names corresponding to the logins on your system.
3535
</p>
3636
</blockquote>
@@ -48,19 +48,19 @@
4848
</pre>
4949
Note the "set opened_by" bit -- that will automatically set the "opened_by"
5050
field to the login name of the bug reporter. Now, skip to the part with "EMail"
5151
and modify it like so:
5252
<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
+&lt;th1>enable_output [expr { "$login" eq "anonymous"}]&lt;/th1>
54
+&lt;tr>
55
+&lt;td align="right">EMail:
56
+&lt;input type="text" name="private_contact" value="$&lt;private_contact>" size="30">
57
+&lt;/td>
58
+&lt;td>&lt;u>Not publicly visible&lt;/u>. Used by developers to contact you with
59
+questions.&lt;/td>
60
+&lt;/tr>
61
+&lt;th1>enable_output 1&lt;/th1>
6262
</pre>
6363
This bit of code will get rid of the "email" field entry for logged-in users.
6464
Since we know the user's information, we don't have to ask for it. NOTE: it
6565
might be good to automatically scoop up the user's email and put it here.
6666
</p>
@@ -70,16 +70,16 @@
7070
<p>
7171
Look for the text "Contact:" (about halfway through). Then insert these lines
7272
after the closing tr tag and before the "enable_output" line:
7373
<pre>
7474
<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
+ &lt;td align="right">Assigned to:&lt;/td>&lt;td bgcolor="#d0d0d0">
76
+ $&lt;assigned_to>
77
+ &lt;/td>
78
+ &lt;td align="right">Opened by:&lt;/td>&lt;td bgcolor="#d0d0d0">
79
+ $&lt;opened_by>
80
+ &lt;/td>
8181
</pre>
8282
This will add a row which displays these two fields, in the event the user has
8383
"edit" capability.
8484
</p>
8585
</blockquote>
@@ -86,21 +86,21 @@
8686
8787
<h2>Modify the 'edit ticket' page</h2><blockquote>
8888
<p>
8989
Before the "Severity:" line, add this:
9090
<pre>
91
-<tr><td align="right">Assigned to:</td><td>
92
-<th1>combobox assigned_to $assigned_choices 1</th1>
93
-</td></tr>
91
+&lt;tr>&lt;td align="right">Assigned to:&lt;/td>&lt;td>
92
+&lt;th1>combobox assigned_to $assigned_choices 1&lt;/th1>
93
+&lt;/td>&lt;/tr>
9494
</pre>
9595
That will give you a drop-down list of assignees. Now, similar to the previous
9696
section, look for "Contact:" and add this:
9797
<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
+ &lt;tr>&lt;td align="right">Reported by:&lt;/td>&lt;td>
99
+ &lt;input type="text" name="opened_by" size="40"
100
+ value="$&lt;opened_by>">
101
+ &lt;/td>&lt;/tr>
102102
</pre>
103103
</p>
104104
</blockquote>
105105
106106
<h2>What next?</h2><blockquote>
107107
--- 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 &lt;th1>enable_output [expr { "$login" eq "anonymous"}]&lt;/th1>
54 &lt;tr>
55 &lt;td align="right">EMail:
56 &lt;input type="text" name="private_contact" value="$&lt;private_contact>" size="30">
57 &lt;/td>
58 &lt;td>&lt;u>Not publicly visible&lt;/u>. Used by developers to contact you with
59 questions.&lt;/td>
60 &lt;/tr>
61 &lt;th1>enable_output 1&lt;/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 &lt;td align="right">Assigned to:&lt;/td>&lt;td bgcolor="#d0d0d0">
76 $&lt;assigned_to>
77 &lt;/td>
78 &lt;td align="right">Opened by:&lt;/td>&lt;td bgcolor="#d0d0d0">
79 $&lt;opened_by>
80 &lt;/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 &lt;tr>&lt;td align="right">Assigned to:&lt;/td>&lt;td>
92 &lt;th1>combobox assigned_to $assigned_choices 1&lt;/th1>
93 &lt;/td>&lt;/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 &lt;tr>&lt;td align="right">Reported by:&lt;/td>&lt;td>
99 &lt;input type="text" name="opened_by" size="40"
100 value="$&lt;opened_by>">
101 &lt;/td>&lt;/tr>
102 </pre>
103 </p>
104 </blockquote>
105
106 <h2>What next?</h2><blockquote>
107

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button