Fossil SCM

add fields for priority and subsystem to tktnew-form, if user has Write-Tkt rights, which allows them to edit these fields in tktedit

jkosche 2025-03-09 09:33 tktnew-template
Commit 1b7033ffa5065b99bb63c029b8681e6aa099cca3b66af38e4448fa4a264e5173
1 file changed +18
--- src/tktsetup.c
+++ src/tktsetup.c
@@ -349,10 +349,28 @@
349349
@ <td align="left"><th1>combobox severity $severity_choices 1</th1></td>
350350
@ <td align="left">How debilitating is the problem? How badly does the problem
351351
@ affect the operation of the product?</td>
352352
@ </tr>
353353
@
354
+@ <th1>
355
+@ if {[capexpr {w}]} {
356
+@ html {<tr><td class="tktDspLabel">Priority:</td><td>}
357
+@ combobox priority $priority_choices 1
358
+@ html {
359
+@ <td align="left">How important is the affected functionality?</td>
360
+@ </td></tr>
361
+@ }
362
+@
363
+@ html {<tr><td class="tktDspLabel">Subsystem:</td><td>}
364
+@ combobox subsystem $subsystem_choices 1
365
+@ html {
366
+@ <td align="left">Which subsystem is affected?</td>
367
+@ </td></tr>
368
+@ }
369
+@ }
370
+@ </th1>
371
+@
354372
@ <tr>
355373
@ <td align="right">EMail:</td>
356374
@ <td align="left">
357375
@ <input name="private_contact" value="$<private_contact>" size="30">
358376
@ </td>
359377
--- src/tktsetup.c
+++ src/tktsetup.c
@@ -349,10 +349,28 @@
349 @ <td align="left"><th1>combobox severity $severity_choices 1</th1></td>
350 @ <td align="left">How debilitating is the problem? How badly does the problem
351 @ affect the operation of the product?</td>
352 @ </tr>
353 @
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
354 @ <tr>
355 @ <td align="right">EMail:</td>
356 @ <td align="left">
357 @ <input name="private_contact" value="$<private_contact>" size="30">
358 @ </td>
359
--- src/tktsetup.c
+++ src/tktsetup.c
@@ -349,10 +349,28 @@
349 @ <td align="left"><th1>combobox severity $severity_choices 1</th1></td>
350 @ <td align="left">How debilitating is the problem? How badly does the problem
351 @ affect the operation of the product?</td>
352 @ </tr>
353 @
354 @ <th1>
355 @ if {[capexpr {w}]} {
356 @ html {<tr><td class="tktDspLabel">Priority:</td><td>}
357 @ combobox priority $priority_choices 1
358 @ html {
359 @ <td align="left">How important is the affected functionality?</td>
360 @ </td></tr>
361 @ }
362 @
363 @ html {<tr><td class="tktDspLabel">Subsystem:</td><td>}
364 @ combobox subsystem $subsystem_choices 1
365 @ html {
366 @ <td align="left">Which subsystem is affected?</td>
367 @ </td></tr>
368 @ }
369 @ }
370 @ </th1>
371 @
372 @ <tr>
373 @ <td align="right">EMail:</td>
374 @ <td align="left">
375 @ <input name="private_contact" value="$<private_contact>" size="30">
376 @ </td>
377

Keyboard Shortcuts

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