#690: Highlight closed tickets in relations widget
--------------------------+-----------------------
  Reporter:  olemis       |      Owner:  rjollos
      Type:  enhancement  |     Status:  accepted
  Priority:  major        |  Milestone:  Release 8
 Component:  relations    |    Version:  0.7.0
Resolution:               |   Keywords:  ux
--------------------------+-----------------------

Comment (by rjollos):

 The patch below adds strike-through on the resource id.

 [[Image(RelatedTickets2.png)]]

 {{{#!diff
 ===================================================================
 --- bloodhound-
 
trunk.svn/bloodhound_dashboard/bhdashboard/widgets/templates/widget_relations.html
 (revision 1536232)
 +++ bloodhound-
 
trunk.svn/bloodhound_dashboard/bhdashboard/widgets/templates/widget_relations.html
 (working copy)
 @@ -40,9 +40,9 @@
                  <span class="visible-
 phone">${item['destticket'].env.product.prefix}</span>
                </a>
              </td>
 -            <td><a href="${item['desthref']}">
 -              ${shortname_of(item['destticket'].resource) + ' - ' +
 summary_of(item['destticket'].resource)}
 -            </a></td>
 +            <td><a href="${item['desthref']}"
 class="${classes(item['destticket'].status, 'ticket')}">
 +              ${shortname_of(item['destticket'].resource)}</a> -
 ${summary_of(item['destticket'].resource)}
 +            </td>
              <td>$item.comment</td>
              <td>$item.author</td>
              <td class="hidden-phone">${pretty_dateinfo(item.when)}</td>
 }}}

-- 
Ticket URL: <https://issues.apache.org/bloodhound/ticket/690#comment:3>
Apache Bloodhound <https://issues.apache.org/bloodhound/>
The Apache Bloodhound issue tracker

Reply via email to