X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/ea6926d3de0e0f12f70f0c993261f0dae54aa482..38564b473642cbb1c39979fa8e5457bdd345159c:/app/views/changeset/_changeset.html.erb diff --git a/app/views/changeset/_changeset.html.erb b/app/views/changeset/_changeset.html.erb index a63792968..5c5ad670b 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) %> +

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

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

+
+

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