Make sure deleted relations are crossed out when browsing a changeset
authorTom Hughes <tom@compton.nu>
Wed, 8 Dec 2010 12:44:19 +0000 (12:44 +0000)
committerTom Hughes <tom@compton.nu>
Wed, 8 Dec 2010 12:44:19 +0000 (12:44 +0000)
app/views/browse/_changeset_details.html.erb

index 6e3cbdb2ee0c2cd37247bb18194bfd449ddc01c2..9fb9cb860b1f0bc0e3e5a3ebda62c97884b85aa6 100644 (file)
@@ -84,7 +84,7 @@
       <td>
         <table cellpadding="0">
           <% @relations.each do |relation| %>
-          <tr><td><%= link_to h(printable_name(relation, true)), { :action => "relation", :id => relation.id.to_s }, :class => "relation " %></td></tr>
+          <tr><td><%= link_to h(printable_name(relation, true)), { :action => "relation", :id => relation.id.to_s }, :class => link_class('relation', relation), :title => link_title(relation) %></td></tr>
           <% end %>
         </table>
       </td>