X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/ea6926d3de0e0f12f70f0c993261f0dae54aa482..21683db838d66d5b14da08dd5fd467fae09515d4:/app/views/changeset/_changeset.html.erb diff --git a/app/views/changeset/_changeset.html.erb b/app/views/changeset/_changeset.html.erb index a63792968..f27b0bc91 100644 --- a/app/views/changeset/_changeset.html.erb +++ b/app/views/changeset/_changeset.html.erb @@ -13,31 +13,18 @@ %> <%= 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.comments.length %> + +
+
+ <%= changeset_details(changeset) %> + · + #<%= changeset.id %> +
<% end %>