Sha256: 6d58b706554ee87b0bee98e870528f63014ec06c0a0c96fa327663ced4bd9826

Contents?: true

Size: 971 Bytes

Versions: 12

Compression:

Stored size: 971 Bytes

Contents

<div class="with_padding">
	<%- if @elements.blank? -%>
	<div id="trash_empty_notice" <%= @elements.blank? ? '' : 'style="display: none"' %> class="info">
		<%= render_icon('info') %>
		<%= t('Your trash is empty') %>
	</div>
	<%- else -%>
	<div class="info">
		<%= render_icon('info') %>
		<%= t('Drag an element over to the element window to restore it') %>
	</div>
	<div id="trash_items">
		<%- @elements.each do |element| -%>
		<%= render :partial => 'alchemy/admin/elements/element', :object => element, :locals => {:draggable => !@allowed_elements.detect { |e| e['name'] == element.name }.nil?} %>
		<%- end -%>
		<p>
			<%= link_to_confirmation_window(t('clear trash'), t('Do you really want to clear the trash?'), alchemy.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

12 entries across 12 versions & 1 rubygems

Version Path
alchemy_cms-2.1.9.1 app/views/alchemy/admin/trash/index.html.erb
alchemy_cms-2.1.9 app/views/alchemy/admin/trash/index.html.erb
alchemy_cms-2.1.8.1 app/views/alchemy/admin/trash/index.html.erb
alchemy_cms-2.1.8 app/views/alchemy/admin/trash/index.html.erb
alchemy_cms-2.1.7 app/views/alchemy/admin/trash/index.html.erb
alchemy_cms-2.1.6 app/views/alchemy/admin/trash/index.html.erb
alchemy_cms-2.1.5 app/views/alchemy/admin/trash/index.html.erb
alchemy_cms-2.1.4 app/views/alchemy/admin/trash/index.html.erb
alchemy_cms-2.1.3 app/views/alchemy/admin/trash/index.html.erb
alchemy_cms-2.1.2 app/views/alchemy/admin/trash/index.html.erb
alchemy_cms-2.1.1 app/views/alchemy/admin/trash/index.html.erb
alchemy_cms-2.1 app/views/alchemy/admin/trash/index.html.erb