Sha256: d39c3490246cd8a1e83d573a47747b8d6ad12d475f345f9c4472c53ad19e6abf

Contents?: true

Size: 1.56 KB

Versions: 6

Compression:

Stored size: 1.56 KB

Contents

<%- alchemy_combined_assets -%>
<%- content_for(:toolbar) do -%>
<div id="toolbar">
	<div id="toolbar_buttons">
		<%- permitted_to?(:new, :admin_pictures) do -%>
		<div class="button_with_label">
			<%= link_to_overlay_window(
				content_tag('span', '', :class => 'icon upload'),
				new_admin_picture_path,
				{
					:title => _('upload_image'),
					:size => '540x480'
				},
				:class => 'icon_button',
				:title => _('upload_image')
			) -%><br />
			<label><%= _('upload_image') %></label>
		</div>
		<%- end -%>
		<%- permitted_to?(:flush, :admin_pictures) do -%>
		<div class="button_with_label">
			<%= link_to(
				content_tag('span', '', :class => 'icon flush'),
				flush_admin_pictures_path,
				:before => 'Alchemy.pleaseWaitOverlay();',
				:complete => 'Alchemy.pleaseWaitOverlay(false);',
				:class => 'icon_button',
				:remote => true,
				:title => _('Flush picture cache')
			) -%><br />
			<label><%= _('Flush picture cache') %></label>
		</div>
		<%- end -%>
	</div>
	<div class="toolbar_spacer"></div>
	<div id="toolbar_links">
		<%= render :partial => 'admin/partials/per_page_links', :locals => {:label => _('images'), :values => ['32', '64', 'all']} %>
	</div>
	<%= render :partial => 'admin/partials/search_form' %>
</div>
<%- end -%>
<div id="archive_all">
	<%= render :partial => 'pictures_list' %>
</div>
<%- content_for :javascripts do -%>
<script type="text/javascript" charset="utf-8">

	jQuery(document).ready(function() {
		Alchemy.inPlaceEditor({
			save_label: "<%= _('save') %>",
			cancel_label: "<%= _('cancel') %>"
		});
	});

</script>
<%- end -%>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
alchemy_cms-2.0.rc2 app/views/admin/pictures/index.html.erb
alchemy_cms-2.0.rc1 app/views/admin/pictures/index.html.erb
alchemy_cms-2.0.pre5 app/views/admin/pictures/index.html.erb
alchemy_cms-2.0.pre4 app/views/admin/pictures/index.html.erb
alchemy_cms-2.0.pre3 app/views/admin/pictures/index.html.erb
alchemy_cms-2.0.pre2 app/views/admin/pictures/index.html.erb