Fossil SCM

Fix the "Key Template" setup box under ticket configuration.

drh 2008-07-19 14:15 trunk
Commit b7588eb2f7ede9178b5740d204391fc9632aaa05
1 file changed +11 -10
+11 -10
--- src/tktsetup.c
+++ src/tktsetup.c
@@ -128,16 +128,17 @@
128128
db_set(zDbField, z, 0);
129129
if( xRebuild ) xRebuild();
130130
}
131131
}
132132
@ <form action="%s(g.zBaseURL)/%s(g.zPath)" method="POST">
133
- @ %s(zDesc)
133
+ @ <p>%s(zDesc)</p>
134134
@ <textarea name="x" rows="%d(height)" cols="80">%h(z)</textarea>
135
- @ <br />
135
+ @ <blockquote>
136136
@ <input type="submit" name="submit" value="Apply Changes">
137137
@ <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>
139140
@ </form>
140141
@ <hr>
141142
@ <h2>Default %s(zTitle)</h2>
142143
@ <blockquote><pre>
143144
@ %h(zDfltValue)
@@ -558,11 +559,11 @@
558559
** WEBPAGE: tktsetup_rpttplt
559560
*/
560561
void tktsetup_rpttplt_page(void){
561562
static const char zDesc[] =
562563
@ <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
564565
@ new ticket summary report.</p>
565566
;
566567
tktsetup_generic(
567568
"Default Report Template",
568569
"ticket-report-template",
@@ -598,19 +599,19 @@
598599
/*
599600
** WEBPAGE: tktsetup_keytplt
600601
*/
601602
void tktsetup_keytplt_page(void){
602603
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
605606
@ new ticket summary report.</p>
606607
;
607608
tktsetup_generic(
608
- "Default Report Template",
609
- "ticket-report-template",
610
- zDefaultReport,
609
+ "Default Report Color-Key Template",
610
+ "ticket-key-template",
611
+ zDefaultKey,
611612
zDesc,
612613
0,
613614
0,
614
- 20
615
+ 10
615616
);
616617
}
617618
--- 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

Keyboard Shortcuts

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