Opened 19 years ago
Last modified 18 years ago
#1559 closed enhancement
timeline should show the ticket summary instead of the ticket number — at Initial Version
Reported by: | Owned by: | Jonas Borgström | |
---|---|---|---|
Priority: | normal | Milestone: | 0.9 |
Component: | timeline | Version: | 0.8.1 |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
I find the timeline way more useful if it shows the ticket summary instead of the ticket number. It's a fairly straight forward change to templates/timeline.cs - here's my patch:
—- timeline.cs_old Sat May 14 00:07:06 2005 +++ timeline.cs Sun May 15 18:57:44 2005 @@ -65,7 +65,7 @@
'Changeset <em>+$item.idata+</em> by '+$item.author,$item.node_list+item.message) ?>
<?cs elif:item.type == #2 ?><-- New ticket —>
<?cs call:tlitem(item.href, 'newticket',
- 'Ticket <em>#'+$item.idata+'</em> created by '+$item.author, item.message) ?>
+ 'Ticket <em>'+$item.shortmsg+'</em> created by '+$item.author, item.message) ?>
<?cs elif:item.type == #3 ?><-- Closed ticket —>
<?cs if:item.message ?>
<?cs set:imessage = ' - ' + $item.message ?>
@@ -73,11 +73,11 @@
<?cs set:imessage = ?>
<?cs /if ?> <?cs call:tlitem(item.href, 'closedticket',
- 'Ticket <em>#'+$item.idata+'</em> resolved by '+$item.author,
+ 'Ticket <em>#'+$item.shortmsg+'</em> resolved by '+$item.author,
$item.tdata+$imessage) ?>
<?cs elif:item.type == #4 ?><-- Reopened ticket —>
<?cs call:tlitem(item.href, 'newticket',
- 'Ticket <em>#'+$item.idata+'</em> reopened by '+$item.author, ) ?>
+ 'Ticket <em>#'+$item.shortmsg+'</em> reopened by '+$item.author, ) ?>
<?cs elif:item.type == #5 ?><-- Wiki change —>
<?cs call:tlitem(item.href, 'wiki',
'<em>'+$item.tdata+'</em> edited by '+$item.author, item.message) ?>
Change History (2)
by , 19 years ago
by , 19 years ago
Attachment: | timeline_mod_ticket_summary.diff added |
---|
diff of the changes - looks like html formatting killed it in the description
diff of the changes - looks like html formatting killed it in the description