X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/fc5998d4939b06a9f0c0bc237978d0c03f8d26a0..582ab35ecd0b0cfacaedf8cbe1d6eadff302973b:/app/views/browse/_common_details.html.erb
diff --git a/app/views/browse/_common_details.html.erb b/app/views/browse/_common_details.html.erb
index 954c687ea..f336671f3 100644
--- a/app/views/browse/_common_details.html.erb
+++ b/app/views/browse/_common_details.html.erb
@@ -1,4 +1,11 @@
+ <% if common_details.changeset.tags['comment'].present? %>
+
+ <%= linkify(h(common_details.changeset.tags['comment'])) %>
+
+ <% else %>
+
(no comment)
+ <% end %>
<% if common_details.visible? %>
<%= t 'browse.common_details.edited' %>
@@ -20,13 +27,6 @@
<%= t 'browse.common_details.in_changeset' %>
#<%= link_to common_details.changeset_id, :action => :changeset, :id => common_details.changeset_id %>
-
- <% if common_details.changeset.tags['comment'].present? %>
-
- <%= t 'browse.common_details.changeset_comment' %>:
- <%= linkify(h(common_details.changeset.tags['comment'])) %>
-
- <% end %>
-<%= render :partial => "tag_details", :object => common_details %>
+<%= render :partial => "tag_details", :object => common_details.tags %>