Sha256: 0b7237bb1576716dd00f5243d73bbef413e938d45ad0a4a82bbc371fde59e24d

Contents?: true

Size: 910 Bytes

Versions: 9

Compression:

Stored size: 910 Bytes

Contents

<div class="with_padding">
	<%- if @elements.blank? -%>
	<p id="trash_empty_notice" <%= @elements.blank? ? '' : 'style="display: none"' %>>
		<%= _('Your trash is empty') %>
	</p>
	<%- else -%>
	<div class="info">
		<%= render_icon('info') %>
		<%= _('Drag an element over to the element window to restore it.') %>
	</div>
	<div id="trash_items">
		<%- @elements.each do |element| -%>
		<%= render :partial => 'admin/elements/element', :object => element, :locals => {:draggable => !@allowed_elements.detect { |e| e['name'] == element.name }.nil?} %>
		<%- end -%>
		<p>
			<%= link_to_confirmation_window(_('clear trash'), _('Do you really want to clear the trash?'), clear_admin_trash_path(:page_id => @page.id), :class => 'button') %>
		</p>
	</div>
	<%- end -%>
</div>
<script type="text/javascript" charset="utf-8">
	Alchemy.DraggableTrashItems(<%= @draggable_trash_items.to_json.html_safe %>);
</script>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
alchemy_cms-2.0.7 app/views/admin/trash/index.html.erb
alchemy_cms-2.0.6.1 app/views/admin/trash/index.html.erb
alchemy_cms-2.0.5 app/views/admin/trash/index.html.erb
alchemy_cms-2.0.4 app/views/admin/trash/index.html.erb
alchemy_cms-2.0.3.1 app/views/admin/trash/index.html.erb
alchemy_cms-2.1.beta1 app/views/admin/trash/index.html.erb
alchemy_cms-2.0.3 app/views/admin/trash/index.html.erb
alchemy_cms-2.0.2 app/views/admin/trash/index.html.erb
alchemy_cms-2.0.1 app/views/admin/trash/index.html.erb