Sha256: c779ee5f24223a782c9e73ce364a7c03fac64bba7e10188d5882a840f6bef17a

Contents?: true

Size: 1.79 KB

Versions: 18

Compression:

Stored size: 1.79 KB

Contents

<div id="library_sidebar">
  <%= render 'filter_bar' %>
  <div class="tag-list with_filter_bar<%= params[:tagged_with].present? ? ' filtered' : '' %>">
    <%= render 'tag_list' %>
  </div>
</div>
<%= form_tag delete_multiple_admin_pictures_path, method: :delete do %>
  <div class="selected_item_tools">
    <h2><%= Alchemy.t(:edit_selected_pictures) %></h2>
    <%= link_to(
      render_icon('edit') + Alchemy.t("Edit"),
      edit_multiple_admin_pictures_path,
      class: 'button with_icon',
      title: Alchemy.t('Edit multiple pictures'),
      id: 'edit_multiple_pictures',
      style: 'float: none'
    ) %>
    <%= button_tag render_icon('destroy') + Alchemy.t("Delete"), 'data-alchemy-confirm' => {
      title: Alchemy.t(:please_confirm),
      message: Alchemy.t(:confirm_to_delete_images_from_server),
      ok_label: Alchemy.t("Yes"),
      cancel_label: Alchemy.t("No")
    }.to_json, class: 'button with_icon' %>
    &nbsp;<%= Alchemy.t(:or) %>&nbsp;
    <%= link_to(
      render_icon('delete-small') + Alchemy.t("Clear selection"),
      admin_pictures_path(
        q: params[:q],
        tagged_with: params[:tagged_with],
        size: params[:size],
        filter: params[:filter]
      ),
      class: 'button with_icon',
      style: 'float: none'
    ) %>
  </div>
  <div id="pictures">
  <% if @pictures.blank? and @recent_pictures.blank? and params[:q].blank? %>
    <div class="info">
      <%= render_icon('info') %>
      <%= Alchemy.t(:no_images_in_archive) %>
    </div>
  <% elsif @pictures.blank? and @recent_pictures.blank? %>
    <div class="info">
      <%= render_icon('info') %>
      <%= Alchemy.t(:no_search_results) %>
    </div>
  <% else %>
    <%= render partial: 'picture', collection: @pictures %>
    <%= paginate @pictures, theme: 'alchemy' %>
  <% end %>
  </div>
<% end %>

Version data entries

18 entries across 18 versions & 1 rubygems

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