Sha256: 2d954df126976fed185d466d5b585ab56a7cf2a5226b99053bf4190ad250257b

Contents?: true

Size: 596 Bytes

Versions: 4

Compression:

Stored size: 596 Bytes

Contents

<% if @scopes.any? %>
<ul class='collapsible_menu closed'>
  <li>
    <% title = @scope ? t('.filtered_by', :filter_scope => @scope.capitalize) : t('.filter_by_scope') %>
    <%= link_to title, '#', :class => 'scope_icon' %>
  </li>
  <% if @scope %>
  <li>
    <%= link_to t('.clear_scope_filter'), refinery.copywriting_admin_phrases_path %>
  </li>
  <% end %>
  <% (@scopes - [@scope]).each do |s| %>
    <li class='<%= s == @scope ? 'selected' : 'closed' %>'>
      <%= link_to s.capitalize, refinery.copywriting_admin_phrases_path(:filter_scope => s) %>
    </li>
  <% end %>
</ul>
<% end %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
refinerycms-copywriting-2.0.3 app/views/refinery/copywriting/admin/phrases/_scope_filters.html.erb
refinerycms-copywriting-2.0.2 app/views/refinery/copywriting/admin/phrases/_scope_filters.html.erb
refinerycms-copywriting-2.0.1 app/views/refinery/copywriting/admin/phrases/_scope_filters.html.erb
refinerycms-copywriting-2.0.0 app/views/refinery/copywriting/admin/phrases/_scope_filters.html.erb