Fossil

Check-in [3c8195c8]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fix a string-quoting error in the previous commit.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | ticket-enhancements
Files: files | file ages | folders
SHA1:3c8195c876ff63acdb92b15ef58a70f1c1c67b05
User & Date: drh 2012-11-26 21:30:56
Context
2012-11-27
15:32
Fix some HTML markup irregularities. Improvements to the default ticket viewer. Closed-Leaf check-in: 7575b52e user: drh tags: ticket-enhancements
2012-11-26
21:30
Fix a string-quoting error in the previous commit. check-in: 3c8195c8 user: drh tags: ticket-enhancements
19:32
Change the default ticketing scripts to take advantage of TICKETCHNG. check-in: fb3b0f66 user: drh tags: ticket-enhancements
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/tktsetup.c.

431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
...
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
}

static const char zDefaultView[] =
@ <table cellpadding="5">
@ <tr><td class="tktDspLabel">Ticket&nbsp;UUID:</td>
@ <th1>
@ if {[hascap s]} {
@   html "<td class=''tktDspValue'' colspan=''3''>$tkt_uuid "
@   html "($tkt_id)</td></tr>\n"
@ } else {
@   html "<td class=''tktDspValue'' colspan=''3''>$tkt_uuid</td></tr>\n"
@ }
@ </th1>
@ <tr><td class="tktDspLabel">Title:</td>
@ <td class="tktDspValue" colspan="3">
@ $<title>
@ </td></tr>
@ <tr><td class="tktDspLabel">Status:</td><td class="tktDspValue">
................................................................................
@               mimetype as xmimetype, icomment AS xcomment
@          FROM ticketchng
@         WHERE tkt_id=$tkt_id} {
@   if {$seenRow} {
@     html "<hr>\n"
@   } else {
@     html "<tr><th>User Comments:</td></tr>\n"
@     html "<tr><td colspan=''5'' class=''tktDspValue''>\n"
@     set seenRow 1
@   }
@   html "[htmlize $xlogin] added on $xdate:\n"
@   if {$alwaysPlaintext || $xmimetype eq "text/plain"} {
@     set r [randhex]
@     wiki "<verbatim-$r>[string trimright $xcomment]</verbatim-$r>\n"
@   } elseif {$xmimetype eq "text/x-fossil-wiki"} {







|


|







 







|







431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
...
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
}

static const char zDefaultView[] =
@ <table cellpadding="5">
@ <tr><td class="tktDspLabel">Ticket&nbsp;UUID:</td>
@ <th1>
@ if {[hascap s]} {
@   html "<td class='tktDspValue' colspan='3'>$tkt_uuid "
@   html "($tkt_id)</td></tr>\n"
@ } else {
@   html "<td class='tktDspValue' colspan='3'>$tkt_uuid</td></tr>\n"
@ }
@ </th1>
@ <tr><td class="tktDspLabel">Title:</td>
@ <td class="tktDspValue" colspan="3">
@ $<title>
@ </td></tr>
@ <tr><td class="tktDspLabel">Status:</td><td class="tktDspValue">
................................................................................
@               mimetype as xmimetype, icomment AS xcomment
@          FROM ticketchng
@         WHERE tkt_id=$tkt_id} {
@   if {$seenRow} {
@     html "<hr>\n"
@   } else {
@     html "<tr><th>User Comments:</td></tr>\n"
@     html "<tr><td colspan='5' class='tktDspValue'>\n"
@     set seenRow 1
@   }
@   html "[htmlize $xlogin] added on $xdate:\n"
@   if {$alwaysPlaintext || $xmimetype eq "text/plain"} {
@     set r [randhex]
@     wiki "<verbatim-$r>[string trimright $xcomment]</verbatim-$r>\n"
@   } elseif {$xmimetype eq "text/x-fossil-wiki"} {