Sha256: 4581e71a72743cbaac50bd370c39e3dcc3fcb653693c0a7f7cd185a2cb58270e

Contents?: true

Size: 1.79 KB

Versions: 12

Compression:

Stored size: 1.79 KB

Contents

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

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
alchemy_cms-2.3.2 app/views/alchemy/admin/pictures/_archive.html.erb
alchemy_cms-2.4.1 app/views/alchemy/admin/pictures/_archive.html.erb
alchemy_cms-2.5.0.b5 app/views/alchemy/admin/pictures/_archive.html.erb
alchemy_cms-2.5.0.b2 app/views/alchemy/admin/pictures/_archive.html.erb
alchemy_cms-2.4.0 app/views/alchemy/admin/pictures/_archive.html.erb
alchemy_cms-2.4.rc4 app/views/alchemy/admin/pictures/_archive.html.erb
alchemy_cms-2.4.rc2 app/views/alchemy/admin/pictures/_archive.html.erb
alchemy_cms-2.4.rc1 app/views/alchemy/admin/pictures/_archive.html.erb
alchemy_cms-2.3.1 app/views/alchemy/admin/pictures/_archive.html.erb
alchemy_cms-2.4.beta2 app/views/alchemy/admin/pictures/_archive.html.erb
alchemy_cms-2.3.0 app/views/alchemy/admin/pictures/_archive.html.erb
alchemy_cms-2.3.rc5 app/views/alchemy/admin/pictures/_archive.html.erb