Sha256: 5ecbe36939a5a23c02bdcfd982a739e06d0e5fc3a720065df23aa2d5a64d7185
Contents?: true
Size: 1.9 KB
Versions: 43
Compression:
Stored size: 1.9 KB
Contents
<div id="library_sidebar"> <%= render 'filter_bar' %> <% if Alchemy::Picture.tag_counts.any? %> <div class="tag-list with_filter_bar<%= ' filtered' if search_filter_params[:tagged_with].present? %>"> <%= render 'tag_list' %> </div> <% end %> </div> <%= form_tag delete_multiple_admin_pictures_path, method: :delete do %> <div class="selected_item_tools"> <h3><%= Alchemy.t(:edit_selected_pictures) %></h3> <%= link_to( render_icon(:edit, size: 'xs') + 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(:minus, size: 'xs') + 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' %> <%= Alchemy.t(:or) %> <%= link_to( render_icon(:times, size: 'xs') + Alchemy.t("Clear selection"), admin_pictures_path( q: search_filter_params[:q], tagged_with: search_filter_params[:tagged_with], size: params[:size], filter: search_filter_params[:filter] ), class: 'secondary button with_icon', style: 'float: none' ) %> </div> <div id="pictures"> <% if @pictures.blank? and @recent_pictures.blank? and search_filter_params[:q].blank? %> <%= render_message do %> <%= Alchemy.t(:no_images_in_archive) %> <% end %> <% elsif @pictures.blank? and @recent_pictures.blank? %> <%= render_message do %> <%= Alchemy.t(:no_search_results) %> <% end %> <% else %> <%= render partial: 'picture', collection: @pictures %> <% end %> </div> <% end %> <%= paginate @pictures, theme: 'alchemy' %>
Version data entries
43 entries across 43 versions & 1 rubygems