Sha256: 18c43ff9d6af0bdcb850d3959de62d255027c3e38dbeb1376f11e4fa0fa7e390

Contents?: true

Size: 1.19 KB

Versions: 15

Compression:

Stored size: 1.19 KB

Contents

<%= toolbar(
  buttons: [
    {
      icon: :plus,
      label: Alchemy.t('New Tag'),
      url: alchemy.new_admin_tag_path,
      title: Alchemy.t('New Tag'),
      hotkey: 'alt+n',
      dialog_options: {
        title: Alchemy.t('New Tag'),
        size: '310x180'
      },
      if_permitted_to: [:create, Alchemy::Tag]
    }
  ]
) %>

<div id="archive_all" class="resources-table-wrapper">
  <%= render 'alchemy/admin/resources/table_header' %>
  <% if @tags.any? %>

  <table class="list">
    <thead>
      <tr>
        <th class="icon"></th>
        <th class="name"><%= sort_link(@query, :name) %></th>
        <th class="count"><%= Gutentag::Tag.human_attribute_name(:taggings_types) %></th>
        <th class="count"><%= sort_link(@query, :taggings_count) %></th>
        <th class="tools"></th>
      </tr>
    </thead>
    <tbody>
      <%= render partial: 'tag', collection: @tags %>
    </tbody>
  </table>

  <%= paginate @tags, theme: 'alchemy' %>

  <% else %>

  <%= render_message do %>
    <h2><%= Alchemy.t('No Tags found') %></h2>
    <% if search_filter_params[:q].blank? %>
      <p><%= Alchemy.t(:tags_get_created_if_used_the_first_time) %></p>
    <% end %>
  <% end %>

  <% end %>
</div>

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
alchemy_cms-5.0.10 app/views/alchemy/admin/tags/index.html.erb
alchemy_cms-5.0.9 app/views/alchemy/admin/tags/index.html.erb
alchemy_cms-5.0.8 app/views/alchemy/admin/tags/index.html.erb
alchemy_cms-5.0.7 app/views/alchemy/admin/tags/index.html.erb
alchemy_cms-5.0.6 app/views/alchemy/admin/tags/index.html.erb
alchemy_cms-5.0.5 app/views/alchemy/admin/tags/index.html.erb
alchemy_cms-5.0.4 app/views/alchemy/admin/tags/index.html.erb
alchemy_cms-5.0.3 app/views/alchemy/admin/tags/index.html.erb
alchemy_cms-5.0.2 app/views/alchemy/admin/tags/index.html.erb
alchemy_cms-5.0.1 app/views/alchemy/admin/tags/index.html.erb
alchemy_cms-5.0.0 app/views/alchemy/admin/tags/index.html.erb
alchemy_cms-5.0.0.rc2 app/views/alchemy/admin/tags/index.html.erb
alchemy_cms-5.0.0.rc1 app/views/alchemy/admin/tags/index.html.erb
alchemy_cms-5.0.0.beta2 app/views/alchemy/admin/tags/index.html.erb
alchemy_cms-5.0.0.beta1 app/views/alchemy/admin/tags/index.html.erb