Sha256: 76e5443d7f3b016abf44d4eed0f11823579bf77e53fdc81ba5fa1e67e91995f5
Contents?: true
Size: 1.72 KB
Versions: 4
Compression:
Stored size: 1.72 KB
Contents
<figure> <ul class="tags tags--proposal tags--list"> <% if category.present? %> <li> <%= link_to resource_locator(model).index(filter: { with_any_category: [category.id.to_s] }), title: t("decidim.tags.filter_results_for_category", resource: translated_attribute(category.name)) do %> <span class="show-for-sr"><%= t "decidim.tags.filter_results_for_category", resource: decidim_html_escape(translated_attribute(category.name)) %></span> <span aria-hidden="true"><%= decidim_html_escape(translated_attribute(category.name)) %></span> <% end %> <% if previous_category.present? && show_previous_category? %> <small class="text-small"> <%= t("changed_from", scope: "decidim.proposals.proposals.tags", previous_name: "#{previous_category.translated_name}").html_safe %> </small> <% end %> </li> <% end %> <% if has_visible_scopes?(model) %> <li> <%= link_to resource_locator(model).index(filter: { with_any_scope: [scope.id] }), title: t("decidim.tags.filter_results_for_scope", resource: translated_attribute(scope.name)) do %> <span class="show-for-sr"><%= t "decidim.tags.filter_results_for_scope", resource: translated_attribute(scope.name) %></span> <span aria-hidden="true"><%= translated_attribute(scope.name) %></span> <% end %> <% if previous_scope.present? && show_previous_scope? %> <small class="text-small"> <%= t("changed_from", scope: "decidim.proposals.proposals.tags", previous_name: "#{translated_attribute(previous_scope.name)}").html_safe %> </small> <% end %> </li> <% end %> </ul> </figure>
Version data entries
4 entries across 4 versions & 1 rubygems