Sha256: ef0a2990a0762ac656d43241596e08e9e4cf2e2bb051a9728e1d798672c34406
Contents?: true
Size: 1.33 KB
Versions: 2
Compression:
Stored size: 1.33 KB
Contents
<div class="picture_detail" 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="picture_image"> <div class="image_spinner spinner"> <%= image_tag("alchemy/image_loader.gif", :alt => '') %> </div> <%= link_to_function( image_tag( thumbnail_path(:id => picture, :size => "111x93"), :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' ) %> </div> <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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
alchemy_cms-2.0.rc2 | app/views/admin/pictures/_picture.html.erb |
alchemy_cms-2.0.rc1 | app/views/admin/pictures/_picture.html.erb |