X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/fee3a0836842d32fbeeb8b7e96c5ec77eb356d20..7d4cc85a312cb79fd1c4b0f22626722bea1d736d:/app/views/changesets/_elements.html.erb
diff --git a/app/views/changesets/_elements.html.erb b/app/views/changesets/_elements.html.erb
index 37ef2d122..a95bed6fa 100644
--- a/app/views/changesets/_elements.html.erb
+++ b/app/views/changesets/_elements.html.erb
@@ -1,12 +1,12 @@
-
+<%= turbo_frame_tag "changeset_#{type.pluralize}" do %>
<%= render :partial => "paging_nav", :locals => { :type => type, :pages => pages } %>
-
+
<% elements.each do |element| %>
- <%= element_list_item type, element do
- t "printable_name.current_and_old_links_html",
+ <%= element_list_item_with_strikethrough type, element do %>
+ <%= t "printable_name.current_and_old_links_html",
:current_link => link_to(printable_element_name(element), :controller => type.pluralize, :action => :show, :id => element.id[0]),
- :old_link => link_to(printable_element_version(element), :controller => "old_#{type.pluralize}", :action => :show, :id => element.id[0], :version => element.version)
- end %>
+ :old_link => link_to(printable_element_version(element), :controller => "old_#{type.pluralize}", :action => :show, :id => element.id[0], :version => element.version) %>
+ <% end %>
<% end %>
-
+<% end %>