Sha256: cab424a3f3172490ce72fd91d5525456f39dfbabb1d60a9051507c3892610d2f

Contents?: true

Size: 1.32 KB

Versions: 9

Compression:

Stored size: 1.32 KB

Contents

<% content_for :toolbar do %>
  <div id="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'
      ) %><br />
      <label><%= _t('New Tag') %></label>
    </div>
  </div>
  <%= render :partial => 'alchemy/admin/partials/search_form' %>
<% end %>

<div id="archive_all">
  <% if @tags.any? %>

  <table class="list" id="tag_list">
    <tr class="legend">
      <th class="icon"></th>
      <th class="name"><%= ActsAsTaggableOn::Tag.human_attribute_name(:name) %></th>
      <th class="count"><%= ActsAsTaggableOn::Tag.human_attribute_name(:taggings_types) %></th>
      <th class="count"><%= ActsAsTaggableOn::Tag.human_attribute_name(: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

9 entries across 9 versions & 1 rubygems

Version Path
alchemy_cms-2.5.3.1 app/views/alchemy/admin/tags/index.html.erb
alchemy_cms-2.5.3 app/views/alchemy/admin/tags/index.html.erb
alchemy_cms-2.5.2.2 app/views/alchemy/admin/tags/index.html.erb
alchemy_cms-2.5.2.1 app/views/alchemy/admin/tags/index.html.erb
alchemy_cms-2.5.2 app/views/alchemy/admin/tags/index.html.erb
alchemy_cms-2.5.1 app/views/alchemy/admin/tags/index.html.erb
alchemy_cms-2.5.0 app/views/alchemy/admin/tags/index.html.erb
alchemy_cms-2.5.0.rc3 app/views/alchemy/admin/tags/index.html.erb
alchemy_cms-2.5.0.b9 app/views/alchemy/admin/tags/index.html.erb