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
Commit
1b7033ffa5065b99bb63c029b8681e6aa099cca3b66af38e4448fa4a264e5173
Parent
136f1441fee982a…
1 file changed
+18
+18
| --- src/tktsetup.c | ||
| +++ src/tktsetup.c | ||
| @@ -349,10 +349,28 @@ | ||
| 349 | 349 | @ <td align="left"><th1>combobox severity $severity_choices 1</th1></td> |
| 350 | 350 | @ <td align="left">How debilitating is the problem? How badly does the problem |
| 351 | 351 | @ affect the operation of the product?</td> |
| 352 | 352 | @ </tr> |
| 353 | 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 | +@ | |
| 354 | 372 | @ <tr> |
| 355 | 373 | @ <td align="right">EMail:</td> |
| 356 | 374 | @ <td align="left"> |
| 357 | 375 | @ <input name="private_contact" value="$<private_contact>" size="30"> |
| 358 | 376 | @ </td> |
| 359 | 377 |
| --- 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 |