X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/5a00e23fa3200d95a27177dc5e392993e9dd0195..1ae7872ed89612353cba641a6b77e86f963789d7:/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 95ddafcd5..0f731875b 100644 --- a/app/views/browse/_common_details.html.erb +++ b/app/views/browse/_common_details.html.erb @@ -1,12 +1,10 @@
<% if common_details.changeset.tags['comment'].present? %> -
- <%= linkify(h(common_details.changeset.tags['comment'])) %> -
+ <%= linkify(h(common_details.changeset.tags['comment'])) %> <% else %> -
(no comment)
+ (no comment) <% end %> -
+

<% if common_details.visible? %> <%= t 'browse.common_details.edited' %> <% else %> @@ -18,15 +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 %> -

+
-<%= render :partial => "tag_details", :object => common_details %> +<%= render :partial => "tag_details", :object => common_details.tags %>