Sha256: 323caa870d806850ec0f67cdd6bc15e80bb53fab94b46e8467ab63236e96b84a
Contents?: true
Size: 1.3 KB
Versions: 14
Compression:
Stored size: 1.3 KB
Contents
<div class="picture_thumbnail <%= @size %>" id="picture_<%= picture.id %>" name="<%= picture.name %>"> <%- permitted_to?(:destroy, :admin_pictures) do -%> <span class="picture_tool_delete"> <%= link_to_confirmation_window( "", _("confirm_to_delete_image_from_server"), admin_picture_path( :id => picture, :query => params[:query], :page => params[:page], :per_page => params[:per_page] ), { :title => _('Delete image') } ) -%> </span> <%- end -%> <div class="image_spinner spinner"> <%= image_tag("alchemy/image_loader.gif", :alt => '') %> </div> <%= link_to_function( image_tag( thumbnail_path(:id => picture, :size => @size), :alt => picture.name, :title => _('zoom_image'), :onload => "Alchemy.fadeImage(this, '#picture_#{picture.id} .image_spinner');", :style => "display: none;" ), "Alchemy.zoomImage('/admin/pictures/#{picture.id}/show_in_window', '#{picture.name}', #{picture.image_width || 320}, #{picture.image_height || 240})", :class => 'thumbnail_background' ) %> <span class="picture_name<%= ' rename' if permitted_to?(:edit, :admin_pictures) -%>" title="<%= permitted_to?(:edit, :admin_pictures) ? picture.name + ' (' + _('Click to rename') + ')' : picture.name %>" id="image_<%= dom_id(picture) %>_name"><%= picture.name %></span> </div>
Version data entries
14 entries across 14 versions & 1 rubygems