X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/d1cc387080152269cb142d150e06b0a27f8b98be..73df8447e3918f08156dd69ddf631652d048f191:/app/views/changeset/_changeset.html.erb diff --git a/app/views/changeset/_changeset.html.erb b/app/views/changeset/_changeset.html.erb index 4bccbe516..f27b0bc91 100644 --- a/app/views/changeset/_changeset.html.erb +++ b/app/views/changeset/_changeset.html.erb @@ -13,32 +13,18 @@ %> <%= content_tag "li", :id => "changeset_#{changeset.id}", :data => {:changeset => changeset_data} do %> -

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

- - - <% if changeset.closed_at > DateTime.now %> - <%= t 'changeset.changeset.still_editing' %> - <% else %> - <% closed_at = l changeset.closed_at, :format => :long %> - <%= distance_of_time_in_words_to_now(closed_at) %> - <% end %> - - - <% unless params.key?(:display_name) %> - by - <% if changeset.user.data_public? %> - <%= link_to changeset.user.display_name, user_path(changeset.user.display_name) %> - <% else %> - <%= t 'changeset.changeset.anonymous' %> - <% end %> - - <% end %> +

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

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