Sha256: da9c569192a27602fb6dd0fb3b37c17fd97babfddb54f955a78e75f242edceb4

Contents?: true

Size: 1.17 KB

Versions: 21

Compression:

Stored size: 1.17 KB

Contents

<div class="picture_thumbnail assign_image_list_detail <%= size.blank? ? 'medium' : size %>" name="<%= picture_to_assign.name %>" id="picture_to_assign_<%= picture_to_assign.id %>">
<%- unless params[:image_assign_url].blank? -%>
	<%- action_url = params[:image_assign_url] + "?picture_id=#{picture_to_assign.id}" -%>
	<%- action_method = params[:image_assign_method] -%>
<%- else -%>
	<%- action_url = create_or_assign_url(picture_to_assign, @options) -%>
	<%- action_method = @content.blank? ? 'post' : 'put' -%>
<%- end -%>
	<div class="image_spinner spinner">
		<%= image_tag("alchemy/image_loader.gif", :alt => '') %>
	</div>
	<%= link_to(
		image_tag(
			alchemy.thumbnail_path(
				:id => picture_to_assign,
				:size => size
			),
			:alt => picture_to_assign.name,
			:onload => "Alchemy.fadeImage(this, '#picture_to_assign_#{picture_to_assign.id} .image_spinner');",
			:style => "display: none;"
		),
		action_url,
		:remote => true,
		:method => action_method,
		:title => t("assign_image"),
		:class => 'thumbnail_background'
	) %>
	<div class="picture_name" title="<%= picture_to_assign.name %>">
		<%= picture_to_assign.name.empty? ? "&nbsp;" : picture_to_assign.name %>
	</div>
</div>

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
alchemy_cms-2.1.12 app/views/alchemy/admin/pictures/_picture_to_assign.html.erb
alchemy_cms-2.1.11 app/views/alchemy/admin/pictures/_picture_to_assign.html.erb
alchemy_cms-2.1.9.1 app/views/alchemy/admin/pictures/_picture_to_assign.html.erb
alchemy_cms-2.1.9 app/views/alchemy/admin/pictures/_picture_to_assign.html.erb
alchemy_cms-2.1.8.1 app/views/alchemy/admin/pictures/_picture_to_assign.html.erb
alchemy_cms-2.1.8 app/views/alchemy/admin/pictures/_picture_to_assign.html.erb
alchemy_cms-2.1.7 app/views/alchemy/admin/pictures/_picture_to_assign.html.erb
alchemy_cms-2.1.6 app/views/alchemy/admin/pictures/_picture_to_assign.html.erb
alchemy_cms-2.1.5 app/views/alchemy/admin/pictures/_picture_to_assign.html.erb
alchemy_cms-2.1.4 app/views/alchemy/admin/pictures/_picture_to_assign.html.erb
alchemy_cms-2.1.3 app/views/alchemy/admin/pictures/_picture_to_assign.html.erb
alchemy_cms-2.1.2 app/views/alchemy/admin/pictures/_picture_to_assign.html.erb
alchemy_cms-2.1.1 app/views/alchemy/admin/pictures/_picture_to_assign.html.erb
alchemy_cms-2.1 app/views/alchemy/admin/pictures/_picture_to_assign.html.erb
alchemy_cms-2.1.rc6 app/views/alchemy/admin/pictures/_picture_to_assign.html.erb
alchemy_cms-2.1.rc5 app/views/alchemy/admin/pictures/_picture_to_assign.html.erb
alchemy_cms-2.1.rc4 app/views/alchemy/admin/pictures/_picture_to_assign.html.erb
alchemy_cms-2.1.rc3 app/views/alchemy/admin/pictures/_picture_to_assign.html.erb
alchemy_cms-2.1.rc2 app/views/alchemy/admin/pictures/_picture_to_assign.html.erb
alchemy_cms-2.1.beta6 app/views/alchemy/admin/pictures/_picture_to_assign.html.erb