X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/fc5998d4939b06a9f0c0bc237978d0c03f8d26a0..726db77827fa71133cc9762c3bf295189269ebb5:/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..0f731875b 100644
--- a/app/views/browse/_common_details.html.erb
+++ b/app/views/browse/_common_details.html.erb
@@ -1,5 +1,10 @@
-
+ <% 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' %>
<% else %>
@@ -11,22 +16,15 @@
<%= t 'browse.common_details.by' %>
<%= link_to h(common_details.changeset.user.display_name), :controller => "user", :action => "view", :display_name => common_details.changeset.user.display_name %>
<% end %>
-
+
-
+
<%= t 'browse.common_details.version' %>
#<%= h(common_details.version) %>
·
<%= 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 %>