]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/browse/_common_details.html.erb
Improve pagination
[rails.git] / app / views / browse / _common_details.html.erb
index 954c687ea5745da3fcff466d9390c413edbe9e3c..95ddafcd5205a0dd992726c10b53aab2063c5ddf 100644 (file)
@@ -1,4 +1,11 @@
 <div class='browse-section common'>
+  <% if common_details.changeset.tags['comment'].present? %>
+    <div style="font-weight: bold; margin-bottom: 5px;">
+      <%= linkify(h(common_details.changeset.tags['comment'])) %>
+    </div>
+  <% else %>
+    <div style="font-weight: bold; margin-bottom: 5px;">(no comment)</div>
+  <% end %>
   <div>
     <% if common_details.visible? %>
       <%= t 'browse.common_details.edited' %> 
     <%= t 'browse.common_details.in_changeset' %> 
     #<%= link_to common_details.changeset_id, :action => :changeset, :id => common_details.changeset_id %>
   </div>
-
-  <% if common_details.changeset.tags['comment'].present? %>
-    <div>
-      <%= t 'browse.common_details.changeset_comment' %>:
-      <%= linkify(h(common_details.changeset.tags['comment'])) %>
-    </div>
-  <% end %>
 </div>
 
 <%= render :partial => "tag_details", :object => common_details %>