Check-in [a21d475e01]
Not logged in

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

Overview
Comment:When deleting a brand new ticket that was pending moderation, eliminate TH1 script errors about the missing '$tkt_uuid' variable.
Timelines: family | ancestors | descendants | both | please-review
Files: files | file ages | folders
SHA1: a21d475e014893cd9335c5ffc9bf1178338bd135
User & Date: mistachkin 2014-09-17 05:47:22.669
Context
2014-09-17
06:24
Add the same handling for the '$tkt_datetime' variable. Also, TH1 does not short-circuit the '&&' operator. check-in: b84b8865a0 user: mistachkin tags: please-review
05:47
When deleting a brand new ticket that was pending moderation, eliminate TH1 script errors about the missing '$tkt_uuid' variable. check-in: a21d475e01 user: mistachkin tags: please-review
2014-09-16
20:50
Fix typo in CSS, see [bed6662935]. check-in: 3d2690a976 user: mistachkin tags: trunk
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/tktsetup.c.
433
434
435
436
437
438
439

440
441
442



443

444




445
446
447
448
449
450
451
  );
}

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">







>
|
|
|
>
>
>

>
|
>
>
>
>







433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
  );
}

static const char zDefaultView[] =
@ <table cellpadding="5">
@ <tr><td class="tktDspLabel">Ticket&nbsp;UUID:</td>
@ <th1>
@ if {[info exists tkt_uuid]} {
@   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"
@   }
@ } else {
@   if {[hascap s]} {
@     html "<td class='tktDspValue' colspan='3'>Deleted "
@     html "(0)</td></tr>\n"
@   } else {
@     html "<td class='tktDspValue' colspan='3'>Deleted</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">