Sha256: 6e56fc1d091775a94992cb39f7a9ee71f210bdfd1654e107d72ec697fdaaf6e8
Contents?: true
Size: 861 Bytes
Versions: 7
Compression:
Stored size: 861 Bytes
Contents
<div class="with_padding"> <%- if @clipboard_items.blank? -%> <p><%= t('No items in your clipboard') %></p> <%- else -%> <div id="clipboard_items"> <ul> <%- @clipboard_items.each do |item| -%> <li id="clipboard_item_<%= item.id %>"> <%= item.class.to_s == '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.name.demodulize.underscore, :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
7 entries across 7 versions & 1 rubygems