X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/baaacfc7c08d8c5df5e67f4fafdbddf4e440c39d..01cbc40ed62f006398bcce62fc1f449b432b59b1:/app/views/browse/changeset.html.erb diff --git a/app/views/browse/changeset.html.erb b/app/views/browse/changeset.html.erb index 08979c283..501712717 100644 --- a/app/views/browse/changeset.html.erb +++ b/app/views/browse/changeset.html.erb @@ -1,77 +1,157 @@ -
- <%= - if @changeset.tags['comment'].to_s != '' - @changeset.tags['comment'].to_s - else - t ('browse.changeset_details.no_comment') - end - %> +
+ <%= linkify(@changeset.tags["comment"].to_s.presence || t("browse.no_comment")) %>
-<%= changeset_details(@changeset) %>
+ + <%= render :partial => "tag_details", :object => @changeset.tags.except("comment") %> + ++ <%= link_to(t(".join_discussion"), login_path(:referer => request.fullpath)) %> +
+ <% end %> + + <% if current_user %> + <% unless @changeset.open? %> + + <% else %> ++ <%= t(".still_open") %> +
<% end %> -