Sha256: 21e9d218be57bbe2ee1566d781894f2640f410219ea0f00239e85847c3929e01

Contents?: true

Size: 914 Bytes

Versions: 86

Compression:

Stored size: 914 Bytes

Contents

<div class="resources-header">
  <% if search_filter_params[:filter].present? %>
    <b><%= Alchemy.t("filtered_by") %></b>
    <% search_filter_params[:filter].each do |k, v| %>
      <%- tmp_params = search_filter_params.dup -%>
      <%- tmp_params[:filter] = tmp_params[:filter].except(k) -%>
      <%- dismiss_filter_url = resource_url_proxy.url_for(
                                { action: 'index' }.merge(tmp_params.except(:page))
                              ) -%>
      <div class="applied-filter">
        <%= Alchemy.t("filters.#{resource_handler.resource_name}.#{k}.values.#{v}", default: v) %>
        <%= link_to render_icon(:times, size: 'xs'), dismiss_filter_url, class: 'dismiss-filter' %>
      </div>
    <% end %>
  <% end %>

  <h2>
    <%= resources_instance_variable.total_count %>
    <%= resource_model.model_name.human(count: resources_instance_variable.total_count) %>
  </h2>
</div>

Version data entries

86 entries across 86 versions & 1 rubygems

Version Path
alchemy_cms-7.3.4 app/views/alchemy/admin/resources/_table_header.html.erb
alchemy_cms-7.3.3 app/views/alchemy/admin/resources/_table_header.html.erb
alchemy_cms-7.3.2 app/views/alchemy/admin/resources/_table_header.html.erb
alchemy_cms-7.2.7 app/views/alchemy/admin/resources/_table_header.html.erb
alchemy_cms-7.3.1 app/views/alchemy/admin/resources/_table_header.html.erb
alchemy_cms-7.3.0 app/views/alchemy/admin/resources/_table_header.html.erb
alchemy_cms-7.2.6 app/views/alchemy/admin/resources/_table_header.html.erb
alchemy_cms-7.2.5 app/views/alchemy/admin/resources/_table_header.html.erb
alchemy_cms-7.1.12 app/views/alchemy/admin/resources/_table_header.html.erb
alchemy_cms-7.0.15 app/views/alchemy/admin/resources/_table_header.html.erb
alchemy_cms-6.1.10 app/views/alchemy/admin/resources/_table_header.html.erb
alchemy_cms-7.2.4 app/views/alchemy/admin/resources/_table_header.html.erb
alchemy_cms-7.1.11 app/views/alchemy/admin/resources/_table_header.html.erb
alchemy_cms-7.2.3 app/views/alchemy/admin/resources/_table_header.html.erb
alchemy_cms-7.1.10 app/views/alchemy/admin/resources/_table_header.html.erb
alchemy_cms-7.2.2 app/views/alchemy/admin/resources/_table_header.html.erb
alchemy_cms-7.1.9 app/views/alchemy/admin/resources/_table_header.html.erb
alchemy_cms-7.0.14 app/views/alchemy/admin/resources/_table_header.html.erb
alchemy_cms-7.2.1 app/views/alchemy/admin/resources/_table_header.html.erb
alchemy_cms-7.0.13 app/views/alchemy/admin/resources/_table_header.html.erb