#2859: Search results should emphasis closed tickets from other tickets
---------------------------+------------------------------------------------
 Reporter:  eblot          |        Owner:  jonas 
     Type:  enhancement    |       Status:  closed
 Priority:  low            |    Milestone:  0.10  
Component:  search system  |      Version:  devel 
 Severity:  trivial        |   Resolution:  fixed 
 Keywords:                 |  
---------------------------+------------------------------------------------
Comment (by cboos):

 Another place where chris'
 [attachment:wiki:ChristopherLenz:html.py html.py++] would be handy :)
 {{{
 #!diff
 Index: api.py
 ===================================================================
 --- api.py      (revision 3000)
 +++ api.py      (working copy)
 @@ -197,8 +197,8 @@
          for summary,desc,author,keywords,tid,date,status in cursor:
              ticket = '#%d: ' % tid
              if status == 'closed':
 -                ticket = util.Markup('<span style="text-decoration: '
 -                                     'line-through">#%s</span>: ', tid)
 +                ticket = util.html.SPAN(style="text-decoration: line-
 through",
 +                                        title="closed as %s" %
 res)[ticket]
              yield (self.env.href.ticket(tid),
                     ticket + util.shorten_line(summary),
                     date, author,
 }}}

-- 
Ticket URL: <http://projects.edgewall.com/trac/ticket/2859>
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