]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/browse/_common_details.html.erb
Add rel=nofollow to links in tags. Closes #2555.
[rails.git] / app / views / browse / _common_details.html.erb
index 179b22f60813add46ec6a752d627e7bc404b46e9..b6960b9c4b0b3533aad31d27d008e9ade1a5907c 100644 (file)
   <td><%= link_to common_details.changeset_id, :action => :changeset, :id => common_details.changeset_id %></td>
 </tr>
 
+<% if common_details.changeset.tags['comment'] %>
+  <tr>
+    <th><%= t 'browse.common_details.changeset_comment' %></th>
+    <td><%= linkify(h(common_details.changeset.tags['comment'])) %></td>
+  </tr>
+<% end %>
+
 <%= render :partial => "tag_details", :object => common_details %>