Sha256: b56cdb89a70307ee277907ad414b23a630e8c667c6b79c05194b90b986277eea
Contents?: true
Size: 1 KB
Versions: 8
Compression:
Stored size: 1 KB
Contents
<div class="with_padding"> <%- if @clipboard_items.blank? -%> <div class="info"> <%= render_icon('info') %> <%= t('No items in your clipboard') %> </div> <%- else -%> <div id="clipboard_items"> <ul> <%- @clipboard_items.each do |item| -%> <% item_class = item.class.name.demodulize.underscore %> <li id="clipboard_item_<%= item.id -%>" class="<%= item_class -%>"> <%= item.class.to_s == 'Alchemy::Element' ? item.display_name_with_preview_text(60) : item.name %> <span class="float_right"><%= link_to(render_icon('delete-small'), alchemy.remove_admin_clipboard_path(:remarkable_type => item_class, :remarkable_id => item.id), :remote => true, :method => :delete, :title => t('Remove item from clipboard')) %></span> </li> <%- end -%> </ul> <p> <%= link_to_confirmation_window(t('clear clipboard'), t('Do you really want to clear the clipboard?'), alchemy.clear_admin_clipboard_path, :class => 'button') %> </p> </div> <%- end -%> </div>
Version data entries
8 entries across 8 versions & 1 rubygems