X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/09da09bb523f8313c5dbed8198f16a2a3a1ec043..23ffdadb565be5ccc4ae9fad9647bdf0fa9b8683:/app/views/changeset/_changeset.html.erb?ds=sidebyside diff --git a/app/views/changeset/_changeset.html.erb b/app/views/changeset/_changeset.html.erb index d04032c17..cbc60695b 100644 --- a/app/views/changeset/_changeset.html.erb +++ b/app/views/changeset/_changeset.html.erb @@ -13,32 +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 %> - <% closed_at = l changeset.closed_at, :format => :long %> - <%= distance_of_time_in_words_to_now(closed_at) %> - <% 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 %>