Sha256: e5263b040e5a4178868b6bf45be975dc8e6f4580c6fcd2f0d3c78884084d72b1

Contents?: true

Size: 548 Bytes

Versions: 36

Compression:

Stored size: 548 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

36 entries across 36 versions & 2 rubygems

Version Path
decidim-core-0.9.3 app/views/decidim/shared/_tags.html.erb
decidim-core-0.9.2 app/views/decidim/shared/_tags.html.erb
decidim-core-0.9.1 app/views/decidim/shared/_tags.html.erb
decidim-core-0.9.0 app/views/decidim/shared/_tags.html.erb
decidim-core-0.8.4 app/views/decidim/shared/_tags.html.erb
decidim-core-0.8.3 app/views/decidim/shared/_tags.html.erb
decidim-core-0.8.2 app/views/decidim/shared/_tags.html.erb
decidim-core-0.8.1 app/views/decidim/shared/_tags.html.erb
decidim-core-0.8.0 app/views/decidim/shared/_tags.html.erb
decidim-core-0.7.4 app/views/decidim/shared/_tags.html.erb
decidim-core-0.7.3 app/views/decidim/shared/_tags.html.erb
decidim-core-0.7.2 app/views/decidim/shared/_tags.html.erb
decidim-core-0.7.1 app/views/decidim/shared/_tags.html.erb
decidim-core-0.7.0 app/views/decidim/shared/_tags.html.erb
decidim-core-0.6.8 app/views/decidim/shared/_tags.html.erb
decidim-0.6.8 decidim-core/app/views/decidim/shared/_tags.html.erb
decidim-core-0.6.7 app/views/decidim/shared/_tags.html.erb
decidim-0.6.7 decidim-core/app/views/decidim/shared/_tags.html.erb
decidim-core-0.6.6 app/views/decidim/shared/_tags.html.erb
decidim-0.6.6 decidim-core/app/views/decidim/shared/_tags.html.erb