X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/a8f14fb509ba36192744bd194ac278c7edf9f6ab..43a4a3a887ef6efb54491f8cc873cc7dc424c1d2:/app/helpers/browse_helper.rb diff --git a/app/helpers/browse_helper.rb b/app/helpers/browse_helper.rb index 07fa48daf..29f243cf4 100644 --- a/app/helpers/browse_helper.rb +++ b/app/helpers/browse_helper.rb @@ -7,6 +7,12 @@ module BrowseHelper end end + def element_list_item(type, object, &block) + tag.li :class => element_class(type, object) do + element_strikethrough object, &block + end + end + def printable_name(object, version: false) id = if object.id.is_a?(Array) object.id[0]