Sha256: 535568e5d44689dc59cc136221201eaa85022b7b999b0eac59756d510bf821df
Contents?: true
Size: 549 Bytes
Versions: 2
Compression:
Stored size: 549 Bytes
Contents
<% if resource.category.present? || has_visible_scopes?(resource) %> <ul class="tags <%= tags_class_extra %>" > <% if resource.category.present? %> <li><%= link_to translated_attribute(resource.category.name), resource_locator(resource).index(filter: { category_id: resource.category.id }) %></li> <% end %> <% if has_visible_scopes?(resource) %> <li><%= link_to translated_attribute(resource.scope.name), resource_locator(resource).index(filter: { scope_id: [resource.scope.id] }) %></li> <% end %> </ul> <% end %>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
decidim-core-0.10.1 | app/views/decidim/shared/_tags.html.erb |
decidim-core-0.10.0 | app/views/decidim/shared/_tags.html.erb |