X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/ea6926d3de0e0f12f70f0c993261f0dae54aa482..23ffdadb565be5ccc4ae9fad9647bdf0fa9b8683:/app/views/changeset/_changeset.html.erb diff --git a/app/views/changeset/_changeset.html.erb b/app/views/changeset/_changeset.html.erb index a63792968..cbc60695b 100644 --- a/app/views/changeset/_changeset.html.erb +++ b/app/views/changeset/_changeset.html.erb @@ -13,31 +13,14 @@ %> <%= content_tag "li", :id => "changeset_#{changeset.id}", :data => {:changeset => changeset_data} do %> - <%= link_to(changeset.id, changeset_path(changeset.id), :class => :changeset_id) %> - - - <% if changeset.closed_at > DateTime.now %> - <%= t 'changeset.changeset.still_editing' %> - <% else %> - <%= l changeset.closed_at, :format => :long %> - <% end %> - - - <% unless params.key?(:display_name) %> - - <% if changeset.user.data_public? %> - <%= link_to changeset.user.display_name, user_path(changeset.user.display_name) %> - <% else %> - <%= t 'changeset.changeset.anonymous' %> - <% end %> - - <% end %> - -

- <% if changeset.tags['comment'].to_s != '' %> - <%= linkify(h(changeset.tags['comment'])) %> - <% else %> - <%= t 'changeset.changeset.no_comment' %> - <% end %> -

+

+ + <%= changeset.tags['comment'].to_s.presence || t('browse.no_comment') %> + +

+
+ <%= changeset_details(changeset) %> + · + #<%= changeset.id %> +
<% end %>