#2703: Number Comments
---------------------------+------------------------------------------------
 Reporter:  Schaatser      |        Owner:  jonas
     Type:  enhancement    |       Status:  new  
 Priority:  normal         |    Milestone:       
Component:  ticket system  |      Version:  0.9.3
 Severity:  normal         |   Resolution:       
 Keywords:                 |  
---------------------------+------------------------------------------------
Comment (by [EMAIL PROTECTED]):

 This is easy to do yourself -- just the template named ticket.cs.  I also
 make mine give permlinks, so I can point someone directly to a comment
 with a URL.

 {{{
 #!diff
 Index: templates/ticket.cs
 ===================================================================
 --- templates/ticket.cs (revision 2824)
 +++ templates/ticket.cs (working copy)
 @@ -101,7 +101,7 @@
  <div id="changelog"><?cs
   each:change = ticket.changes ?>
    <h3 id="change_<?cs var:name(change) ?>" class="change"><?cs
 -   var:change.date ?>: Modified by <?cs var:change.author ?></h3><?cs
 +   var:change.date ?>: Modified by <?cs var:change.author ?> <a
 href="#change_<?cs var:name(change) ?>" title="Permalink to change <?cs
 var:name(change) ?>">#<?cs var:name(change) ?></a></h3><?cs
    if:len(change.fields) ?>
     <ul class="changes"><?cs
     each:field = change.fields ?>
 }}}

-- 
Ticket URL: <http://projects.edgewall.com/trac/ticket/2703>
The Trac Project <http://trac.edgewall.com/>
_______________________________________________
Trac-Tickets mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac-tickets

Reply via email to