Sha256: 2cb1ced009942c638b0327116217775c6b813b71554b60bfbb084cfb4bfa8c62

Contents?: true

Size: 847 Bytes

Versions: 108

Compression:

Stored size: 847 Bytes

Contents

<% if resources_instance_variable.any? %>
<table class="list" id="<%= resource_handler.resources_name %>_list">
  <thead>
    <tr>
    <% resource_handler.sorted_attributes.each do |attribute| %>
      <th class="<%= attribute[:type] %> <%= attribute[:name] %>">
        <%= sort_link [:resource_url_proxy, @query],
          sortable_resource_header_column(attribute),
          resource_handler.model.human_attribute_name(attribute[:name]),
          default_order: attribute[:type].to_s =~ /date|time/ ? 'desc' : 'asc' %>
      </th>
    <% end %>
      <th class="tools"></th>
    </tr>
  </thead>
  <tbody>
    <%= render_resources %>
  </tbody>
</table>
<% elsif search_filter_params[:q].present? %>
<p><%= Alchemy.t('Nothing found') %></p>
<% end %>

<%= paginate resources_instance_variable, scope: resource_url_proxy, theme: 'alchemy' %>

Version data entries

108 entries across 108 versions & 1 rubygems

Version Path
alchemy_cms-7.0.16 app/views/alchemy/admin/resources/_table.html.erb
alchemy_cms-7.0.15 app/views/alchemy/admin/resources/_table.html.erb
alchemy_cms-6.1.10 app/views/alchemy/admin/resources/_table.html.erb
alchemy_cms-7.0.14 app/views/alchemy/admin/resources/_table.html.erb
alchemy_cms-7.0.13 app/views/alchemy/admin/resources/_table.html.erb
alchemy_cms-7.0.12 app/views/alchemy/admin/resources/_table.html.erb
alchemy_cms-7.0.11 app/views/alchemy/admin/resources/_table.html.erb
alchemy_cms-7.0.10 app/views/alchemy/admin/resources/_table.html.erb
alchemy_cms-7.0.9 app/views/alchemy/admin/resources/_table.html.erb
alchemy_cms-7.0.8 app/views/alchemy/admin/resources/_table.html.erb
alchemy_cms-7.0.7 app/views/alchemy/admin/resources/_table.html.erb
alchemy_cms-7.0.6 app/views/alchemy/admin/resources/_table.html.erb
alchemy_cms-7.0.5 app/views/alchemy/admin/resources/_table.html.erb
alchemy_cms-7.0.4 app/views/alchemy/admin/resources/_table.html.erb
alchemy_cms-7.0.3 app/views/alchemy/admin/resources/_table.html.erb
alchemy_cms-6.1.9 app/views/alchemy/admin/resources/_table.html.erb
alchemy_cms-7.0.2 app/views/alchemy/admin/resources/_table.html.erb
alchemy_cms-6.1.8 app/views/alchemy/admin/resources/_table.html.erb
alchemy_cms-6.1.7 app/views/alchemy/admin/resources/_table.html.erb
alchemy_cms-7.0.1 app/views/alchemy/admin/resources/_table.html.erb