From: Anton Khorev Date: Sun, 5 Jan 2025 14:57:31 +0000 (+0300) Subject: Write details attribute to changeset page X-Git-Tag: live~32^2~1 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/0b0569f150afc4bfc3acefbdc477f50eb56ffeae Write details attribute to changeset page --- diff --git a/app/views/changesets/show.html.erb b/app/views/changesets/show.html.erb index a47049e99..167bcb5cb 100644 --- a/app/views/changesets/show.html.erb +++ b/app/views/changesets/show.html.erb @@ -6,7 +6,9 @@

<%= linkify(@changeset.tags["comment"].to_s.presence || t("browse.no_comment")) %>

-

<%= changeset_details(@changeset) %>

+ <%= tag.p :class => "details", :data => { :changeset => changeset_data(@changeset) } do %> + <%= changeset_details(@changeset) %> + <% end %> <%= render :partial => "browse/tag_details", :object => @changeset.tags.except("comment") %>