Sha256: 10889e2c3a6ecc2dd363f45e000af2a7ccd64a306e8b6b95a0454770ca41707b

Contents?: true

Size: 1.52 KB

Versions: 17

Compression:

Stored size: 1.52 KB

Contents

<% content_for :toolbar do %>
  <div class="toolbar_buttons">
    <div class="button_with_label">
      <%= link_to_overlay_window(
        content_tag('span', '', class: 'icon tag_add'),
        new_admin_tag_path,
        {
          title: _t('New Tag'),
          size: '310x210'
        },
        title: _t('New Tag'),
        class: 'icon_button',
        'data-alchemy-hotkey' => 'alt-n'
      ) %><br />
      <label><%= _t('New Tag') %></label>
    </div>
  </div>
  <%= render partial: 'alchemy/admin/partials/search_form' %>
<% end %>

<div id="archive_all">
  <h1>
    <%= @tags.total_count %>
    <%= ActsAsTaggableOn::Tag.model_name.human(count: @tags.total_count) %>
  </h1>
  <% if @tags.any? %>

  <table class="list" id="tag_list">
    <tr class="legend">
      <th class="icon"></th>
      <th class="name"><%= sortable_column(ActsAsTaggableOn::Tag.human_attribute_name(:name), column: :name) %></th>
      <th class="count"><%= ActsAsTaggableOn::Tag.human_attribute_name(:taggings_types) %></th>
      <th class="count"><%= sortable_column(ActsAsTaggableOn::Tag.human_attribute_name(:taggings_count), column: :taggings_count) %></th>
      <th class="tools"></th>
    </tr>
    <%= render partial: 'tag', collection: @tags %>
  </table>

  <%= render 'alchemy/admin/partials/pagination_links', items: @tags %>

  <% else %>

  <%= render_message do %>
    <h2><%= _t('No Tags found') %></h2>
    <% if params[:query].blank? %>
      <p><%= _t(:tags_get_created_if_used_the_first_time) %></p>
    <% end %>
  <% end %>

  <% end %>
</div>

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
alchemy_cms-2.9.1 app/views/alchemy/admin/tags/index.html.erb
alchemy_cms-2.9.0 app/views/alchemy/admin/tags/index.html.erb
alchemy_cms-2.8.3 app/views/alchemy/admin/tags/index.html.erb
alchemy_cms-2.7.5 app/views/alchemy/admin/tags/index.html.erb
alchemy_cms-2.6.3 app/views/alchemy/admin/tags/index.html.erb
alchemy_cms-2.7.4 app/views/alchemy/admin/tags/index.html.erb
alchemy_cms-2.8.2 app/views/alchemy/admin/tags/index.html.erb
alchemy_cms-2.8.1 app/views/alchemy/admin/tags/index.html.erb
alchemy_cms-2.7.3 app/views/alchemy/admin/tags/index.html.erb
alchemy_cms-2.7.2 app/views/alchemy/admin/tags/index.html.erb
alchemy_cms-2.7.1 app/views/alchemy/admin/tags/index.html.erb
alchemy_cms-2.7.0 app/views/alchemy/admin/tags/index.html.erb
alchemy_cms-2.6.2.1 app/views/alchemy/admin/tags/index.html.erb
alchemy_cms-2.6.2 app/views/alchemy/admin/tags/index.html.erb
alchemy_cms-2.6.1 app/views/alchemy/admin/tags/index.html.erb
alchemy_cms-2.6.0 app/views/alchemy/admin/tags/index.html.erb
alchemy_cms-2.6.0.rc5 app/views/alchemy/admin/tags/index.html.erb