Sha256: 2671d503d740cfd45a11747befed7902adbfbfb3acb9c38dd10b8cb33af1f4c1

Contents?: true

Size: 1.98 KB

Versions: 2

Compression:

Stored size: 1.98 KB

Contents

<div id="image_assign_filter_and_image_sizing">
	<div class="button_with_label">
		<%= link_to(
			render_icon('zoom-out'),
			url_for({
				:action => "archive_overlay",
				:size => "small",
				:content_id => @content,
				:element_id => @element,
				:swap => @swap,
				:query => params[:query],
				:options => @options
			}),
			:remote => true,
			:title => _("small_thumbnails"),
			:class => "icon_button"
		) %>
		<%= link_to(
			render_icon('zoom-equal'),
			url_for({
				:action => "archive_overlay",
				:size => "medium",
				:content_id => @content,
				:element_id => @element,
				:swap => @swap,
				:query => params[:query],
				:options => @options
			}),
			:remote => true,
			:title => _("medium_thumbnails"),
			:class => "icon_button"
		) %>
		<%= link_to(
			render_icon('zoom-in'),
			url_for({
				:action => "archive_overlay",
				:size => "large",
				:content_id => @content,
				:element_id => @element,
				:swap => @swap,
				:query => params[:query],
				:options => @options
			}),
			:remote => true,
			:title => _("big_thumbnails"),
			:class => "icon_button"
		) %><br />
		<label class="sup"><%= _('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'),
		url_for(
			:controller => 'admin/pictures',
			:action => 'new',
			:while_assigning => true,
			: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 => "355x320",
			:title => _('upload_image')
		},
		{
			:class => 'icon_button',
			:title => _('upload_image')
		}
	) %><br />
	<label><%= _('upload_image') %></label>
	</div>
	<%= render(
		:partial => 'admin/partials/remote_search_form',
		:locals => {
			:action => 'archive_overlay'
		}
	) %>
</div>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
alchemy_cms-2.0.rc2 app/views/admin/pictures/_filter_and_size_bar.html.erb
alchemy_cms-2.0.rc1 app/views/admin/pictures/_filter_and_size_bar.html.erb