Fossil SCM
Fix the "Key Template" setup box under ticket configuration.
Commit
b7588eb2f7ede9178b5740d204391fc9632aaa05
Parent
23ed5e2cd6e89a2…
1 file changed
+11
-10
+11
-10
| --- src/tktsetup.c | ||
| +++ src/tktsetup.c | ||
| @@ -128,16 +128,17 @@ | ||
| 128 | 128 | db_set(zDbField, z, 0); |
| 129 | 129 | if( xRebuild ) xRebuild(); |
| 130 | 130 | } |
| 131 | 131 | } |
| 132 | 132 | @ <form action="%s(g.zBaseURL)/%s(g.zPath)" method="POST"> |
| 133 | - @ %s(zDesc) | |
| 133 | + @ <p>%s(zDesc)</p> | |
| 134 | 134 | @ <textarea name="x" rows="%d(height)" cols="80">%h(z)</textarea> |
| 135 | - @ <br /> | |
| 135 | + @ <blockquote> | |
| 136 | 136 | @ <input type="submit" name="submit" value="Apply Changes"> |
| 137 | 137 | @ <input type="submit" name="clear" value="Revert To Default"> |
| 138 | - @ <input type="submit" name="setup" value="Ticket Setup Menu"> | |
| 138 | + @ <input type="submit" name="setup" value="Cancel"> | |
| 139 | + @ </blockquote> | |
| 139 | 140 | @ </form> |
| 140 | 141 | @ <hr> |
| 141 | 142 | @ <h2>Default %s(zTitle)</h2> |
| 142 | 143 | @ <blockquote><pre> |
| 143 | 144 | @ %h(zDfltValue) |
| @@ -558,11 +559,11 @@ | ||
| 558 | 559 | ** WEBPAGE: tktsetup_rpttplt |
| 559 | 560 | */ |
| 560 | 561 | void tktsetup_rpttplt_page(void){ |
| 561 | 562 | static const char zDesc[] = |
| 562 | 563 | @ <p>Enter the default ticket report format template. This is the |
| 563 | - @ the template report format that initial appears when creating a | |
| 564 | + @ the template report format that initially appears when creating a | |
| 564 | 565 | @ new ticket summary report.</p> |
| 565 | 566 | ; |
| 566 | 567 | tktsetup_generic( |
| 567 | 568 | "Default Report Template", |
| 568 | 569 | "ticket-report-template", |
| @@ -598,19 +599,19 @@ | ||
| 598 | 599 | /* |
| 599 | 600 | ** WEBPAGE: tktsetup_keytplt |
| 600 | 601 | */ |
| 601 | 602 | void tktsetup_keytplt_page(void){ |
| 602 | 603 | static const char zDesc[] = |
| 603 | - @ <p>Enter the default ticket report key template. This is the | |
| 604 | - @ the template report format that initial appears when creating a | |
| 604 | + @ <p>Enter the default ticket report color-key template. This is the | |
| 605 | + @ the color-key that initially appears when creating a | |
| 605 | 606 | @ new ticket summary report.</p> |
| 606 | 607 | ; |
| 607 | 608 | tktsetup_generic( |
| 608 | - "Default Report Template", | |
| 609 | - "ticket-report-template", | |
| 610 | - zDefaultReport, | |
| 609 | + "Default Report Color-Key Template", | |
| 610 | + "ticket-key-template", | |
| 611 | + zDefaultKey, | |
| 611 | 612 | zDesc, |
| 612 | 613 | 0, |
| 613 | 614 | 0, |
| 614 | - 20 | |
| 615 | + 10 | |
| 615 | 616 | ); |
| 616 | 617 | } |
| 617 | 618 |
| --- src/tktsetup.c | |
| +++ src/tktsetup.c | |
| @@ -128,16 +128,17 @@ | |
| 128 | db_set(zDbField, z, 0); |
| 129 | if( xRebuild ) xRebuild(); |
| 130 | } |
| 131 | } |
| 132 | @ <form action="%s(g.zBaseURL)/%s(g.zPath)" method="POST"> |
| 133 | @ %s(zDesc) |
| 134 | @ <textarea name="x" rows="%d(height)" cols="80">%h(z)</textarea> |
| 135 | @ <br /> |
| 136 | @ <input type="submit" name="submit" value="Apply Changes"> |
| 137 | @ <input type="submit" name="clear" value="Revert To Default"> |
| 138 | @ <input type="submit" name="setup" value="Ticket Setup Menu"> |
| 139 | @ </form> |
| 140 | @ <hr> |
| 141 | @ <h2>Default %s(zTitle)</h2> |
| 142 | @ <blockquote><pre> |
| 143 | @ %h(zDfltValue) |
| @@ -558,11 +559,11 @@ | |
| 558 | ** WEBPAGE: tktsetup_rpttplt |
| 559 | */ |
| 560 | void tktsetup_rpttplt_page(void){ |
| 561 | static const char zDesc[] = |
| 562 | @ <p>Enter the default ticket report format template. This is the |
| 563 | @ the template report format that initial appears when creating a |
| 564 | @ new ticket summary report.</p> |
| 565 | ; |
| 566 | tktsetup_generic( |
| 567 | "Default Report Template", |
| 568 | "ticket-report-template", |
| @@ -598,19 +599,19 @@ | |
| 598 | /* |
| 599 | ** WEBPAGE: tktsetup_keytplt |
| 600 | */ |
| 601 | void tktsetup_keytplt_page(void){ |
| 602 | static const char zDesc[] = |
| 603 | @ <p>Enter the default ticket report key template. This is the |
| 604 | @ the template report format that initial appears when creating a |
| 605 | @ new ticket summary report.</p> |
| 606 | ; |
| 607 | tktsetup_generic( |
| 608 | "Default Report Template", |
| 609 | "ticket-report-template", |
| 610 | zDefaultReport, |
| 611 | zDesc, |
| 612 | 0, |
| 613 | 0, |
| 614 | 20 |
| 615 | ); |
| 616 | } |
| 617 |
| --- src/tktsetup.c | |
| +++ src/tktsetup.c | |
| @@ -128,16 +128,17 @@ | |
| 128 | db_set(zDbField, z, 0); |
| 129 | if( xRebuild ) xRebuild(); |
| 130 | } |
| 131 | } |
| 132 | @ <form action="%s(g.zBaseURL)/%s(g.zPath)" method="POST"> |
| 133 | @ <p>%s(zDesc)</p> |
| 134 | @ <textarea name="x" rows="%d(height)" cols="80">%h(z)</textarea> |
| 135 | @ <blockquote> |
| 136 | @ <input type="submit" name="submit" value="Apply Changes"> |
| 137 | @ <input type="submit" name="clear" value="Revert To Default"> |
| 138 | @ <input type="submit" name="setup" value="Cancel"> |
| 139 | @ </blockquote> |
| 140 | @ </form> |
| 141 | @ <hr> |
| 142 | @ <h2>Default %s(zTitle)</h2> |
| 143 | @ <blockquote><pre> |
| 144 | @ %h(zDfltValue) |
| @@ -558,11 +559,11 @@ | |
| 559 | ** WEBPAGE: tktsetup_rpttplt |
| 560 | */ |
| 561 | void tktsetup_rpttplt_page(void){ |
| 562 | static const char zDesc[] = |
| 563 | @ <p>Enter the default ticket report format template. This is the |
| 564 | @ the template report format that initially appears when creating a |
| 565 | @ new ticket summary report.</p> |
| 566 | ; |
| 567 | tktsetup_generic( |
| 568 | "Default Report Template", |
| 569 | "ticket-report-template", |
| @@ -598,19 +599,19 @@ | |
| 599 | /* |
| 600 | ** WEBPAGE: tktsetup_keytplt |
| 601 | */ |
| 602 | void tktsetup_keytplt_page(void){ |
| 603 | static const char zDesc[] = |
| 604 | @ <p>Enter the default ticket report color-key template. This is the |
| 605 | @ the color-key that initially appears when creating a |
| 606 | @ new ticket summary report.</p> |
| 607 | ; |
| 608 | tktsetup_generic( |
| 609 | "Default Report Color-Key Template", |
| 610 | "ticket-key-template", |
| 611 | zDefaultKey, |
| 612 | zDesc, |
| 613 | 0, |
| 614 | 0, |
| 615 | 10 |
| 616 | ); |
| 617 | } |
| 618 |