Sha256: 61e29440f4883dbc8d75ce54f852158e1ec5b15e88c2e237b21a5f42ca261690

Contents?: true

Size: 778 Bytes

Versions: 31

Compression:

Stored size: 778 Bytes

Contents

<% if resources_instance_variable.any? %>
<table class="list" id="<%= resource_handler.resources_name %>_list">
  <thead>
    <tr>
    <% resource_handler.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]),
          hide_indicator: true %>
      </th>
    <% end %>
      <th class="tools"></th>
    </tr>
  </thead>
  <tbody>
    <%= render_resources %>
  </tbody>
</table>
<% elsif params[:q].present? %>
<p><%= Alchemy.t('Nothing found') %></p>
<% end %>

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

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
alchemy_cms-4.0.6 app/views/alchemy/admin/resources/_table.html.erb
alchemy_cms-3.6.7 app/views/alchemy/admin/resources/_table.html.erb
alchemy_cms-3.6.6 app/views/alchemy/admin/resources/_table.html.erb
alchemy_cms-4.0.5 app/views/alchemy/admin/resources/_table.html.erb
alchemy_cms-4.0.4 app/views/alchemy/admin/resources/_table.html.erb
alchemy_cms-4.0.3 app/views/alchemy/admin/resources/_table.html.erb
alchemy_cms-3.6.5 app/views/alchemy/admin/resources/_table.html.erb
alchemy_cms-4.0.2 app/views/alchemy/admin/resources/_table.html.erb
alchemy_cms-4.0.1 app/views/alchemy/admin/resources/_table.html.erb
alchemy_cms-3.6.4 app/views/alchemy/admin/resources/_table.html.erb
alchemy_cms-4.0.0 app/views/alchemy/admin/resources/_table.html.erb
alchemy_cms-3.6.3 app/views/alchemy/admin/resources/_table.html.erb
alchemy_cms-3.6.2 app/views/alchemy/admin/resources/_table.html.erb
alchemy_cms-4.0.0.rc2 app/views/alchemy/admin/resources/_table.html.erb
alchemy_cms-4.0.0.rc1 app/views/alchemy/admin/resources/_table.html.erb
alchemy_cms-3.6.1 app/views/alchemy/admin/resources/_table.html.erb
alchemy_cms-4.0.0.beta app/views/alchemy/admin/resources/_table.html.erb
alchemy_cms-3.6.0 app/views/alchemy/admin/resources/_table.html.erb
alchemy_cms-3.5.0 app/views/alchemy/admin/resources/_table.html.erb
alchemy_cms-3.4.2 app/views/alchemy/admin/resources/_table.html.erb