Differences From:
File
src/tktconfig.c
part of check-in
[3122fc4c7e]
- Continuing work on tickets (still not working right.) Improvements to
the web pages.
by
drh on
2008-02-14 02:49:41.
Also file
src/tktconfig.c
part of check-in
[588bb7cd73]
- Merged to ed26056bb5.
by
aku on
2008-02-24 18:50:35.
[view]
To:
File
src/tktconfig.c
part of check-in
[46e6a03232]
- Get rudimentary ticket editing working.
by
drh on
2008-05-16 18:57:59.
[view]
@@ -203,17 +203,17 @@
@ set tktedit_template {
@ <th1>
@ if {![info exists username]} {set username $login}
@ if {[info exists submit]} {
-@ if {[info exists $cmappnd] && [string length $cmappnd]>0} {
-@ set ctxt "\n\n<hr><i>"
-@ if {$username==$login} {
-@ set usr "$ctxt[htmlize $login]"
-@ } else {
-@ set usr "[htmlize $login claimingn to be [htmlize $username]"
-@ }
-@ append_field comment \
-@ "\n\n<hr><i>$usr added on [date]:</i><br>\n$comment"
+@ if {[info exists cmappnd]} {
+@ if {[string length $cmappnd]>0} {
+@ set ctxt "\n\n<hr><i>[htmlize $login]"
+@ if {$username ne $login} {
+@ set ctxt "$ctxt claiming to be [htmlize $username]"
+@ }
+@ set ctxt "$ctxt added on [date]:</i><br>\n$cmappnd"
+@ append_field comment $ctxt
+@ }
@ }
@ submit_ticket
@ }
@ </th1>