Sha256: 507b8cd0cf9cb722dcb7d8273f928b11689887dd7b1f8052badff22a67a45118

Contents?: true

Size: 1.79 KB

Versions: 14

Compression:

Stored size: 1.79 KB

Contents

<div id="image_assign_filter_and_image_sizing">
	<div class="button_with_label">
		<%= link_to(
			render_icon('zoom-out'),
			admin_pictures_path({
				: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'),
			admin_pictures_path({
				: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'),
			admin_pictures_path({
				: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'),
		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 => "540x480",
			:title => _('upload_image')
		},
		{
			:class => 'icon_button',
			:title => _('upload_image')
		}
	) %><br />
	<label><%= _('upload_image') %></label>
	</div>
	<%= render(:partial => 'admin/partials/remote_search_form') %>
</div>

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
alchemy_cms-2.0.7 app/views/admin/pictures/_filter_and_size_bar.html.erb
alchemy_cms-2.0.6.1 app/views/admin/pictures/_filter_and_size_bar.html.erb
alchemy_cms-2.0.5 app/views/admin/pictures/_filter_and_size_bar.html.erb
alchemy_cms-2.0.4 app/views/admin/pictures/_filter_and_size_bar.html.erb
alchemy_cms-2.0.3.1 app/views/admin/pictures/_filter_and_size_bar.html.erb
alchemy_cms-2.1.beta1 app/views/admin/pictures/_filter_and_size_bar.html.erb
alchemy_cms-2.0.3 app/views/admin/pictures/_filter_and_size_bar.html.erb
alchemy_cms-2.0.2 app/views/admin/pictures/_filter_and_size_bar.html.erb
alchemy_cms-2.0.1 app/views/admin/pictures/_filter_and_size_bar.html.erb
alchemy_cms-2.0 app/views/admin/pictures/_filter_and_size_bar.html.erb
alchemy_cms-2.0.rc6 app/views/admin/pictures/_filter_and_size_bar.html.erb
alchemy_cms-2.0.rc5 app/views/admin/pictures/_filter_and_size_bar.html.erb
alchemy_cms-2.0.rc4 app/views/admin/pictures/_filter_and_size_bar.html.erb
alchemy_cms-2.0.rc3 app/views/admin/pictures/_filter_and_size_bar.html.erb