Sha256: 55bdf1fbf575b7e0b3ff4eae727ce60fca9dd4b4404e9042ed854a49a90252fc

Contents?: true

Size: 1.81 KB

Versions: 21

Compression:

Stored size: 1.81 KB

Contents

<div id="image_assign_filter_and_image_sizing">
	<div class="button_with_label">
		<%= link_to(
			render_icon('zoom-out'),
			alchemy.admin_pictures_path({
				:size => "small",
				:content_id => @content,
				:element_id => @element,
				:swap => @swap,
				:query => params[:query],
				:options => @options
			}),
			:remote => true,
			:title => t("small_thumbnails"),
			:class => "icon_button"
		) %>
		<%= link_to(
			render_icon('zoom-equal'),
			alchemy.admin_pictures_path({
				:size => "medium",
				:content_id => @content,
				:element_id => @element,
				:swap => @swap,
				:query => params[:query],
				:options => @options
			}),
			:remote => true,
			:title => t("medium_thumbnails"),
			:class => "icon_button"
		) %>
		<%= link_to(
			render_icon('zoom-in'),
			alchemy.admin_pictures_path({
				:size => "large",
				:content_id => @content,
				:element_id => @element,
				:swap => @swap,
				:query => params[:query],
				:options => @options
			}),
			:remote => true,
			:title => t("big_thumbnails"),
			:class => "icon_button"
		) %>
		<label><%= t('Image size') %></label>
		<%= hidden_field_tag('size', @size, :id => 'overlay_thumbnails_size') %>
	</div>
	<div class="toolbar_spacer"></div>
	<div class="button_with_label">
	<%= link_to_overlay_window(
		render_icon('upload'),
		alchemy.new_admin_picture_path(
			:element_id => @element.blank? ? nil : @element.id,
			:content_id => @content.blank? ? nil : @content.id,
			:swap => @swap,
			:page => params[:page],
			:per_page => params[:per_page],
			:size => @size,
			:options => @options
		),
		{
			:size => "540x550",
			:title => t('upload_image')
		},
		{
			:class => 'icon_button',
			:title => t('upload_image')
		}
	) %>
	<label><%= t('upload_image') %></label>
	</div>
	<%= render(:partial => 'alchemy/admin/partials/remote_search_form') %>
</div>

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
alchemy_cms-2.1.beta5 app/views/alchemy/admin/pictures/_filter_and_size_bar.html.erb