Sha256: f302a4bfc34fc1995c12f9f1ecd11473297253215fa07836666a7ce5738d9a03
Contents?: true
Size: 1.69 KB
Versions: 1
Compression:
Stored size: 1.69 KB
Contents
<% if options[:crop] && content.ingredient %> <%= link_to_overlay_window( render_icon('crop'), alchemy.crop_admin_essence_picture_path(content.essence, :options => options.to_json), { :size => "816x754", :title => _t('Edit Picturemask'), :image_loader => false }, { :title => _t('Edit Picturemask') } ) %> <%- else -%> <a href="#" class="disabled"><%= render_icon('crop') %></a> <%- end -%> <%= link_to_overlay_window( render_icon('swap_picture'), alchemy.admin_pictures_path( :element_id => content.element, :content_id => content.id, :swap => true, :options => options.to_json ), { :title => (content.ingredient ? _t(:swap_image) : _t(:insert_image)), :size => '780x580', :close_on_escape => false }, :title => (content.ingredient ? _t(:swap_image) : _t(:insert_image)) ) %> <%= link_to(render_icon(:link), '#', { :onclick => "Alchemy.LinkOverlay.open(this)", :class => content.linked? ? 'linked' : nil, :title => _t(:link_image), :data => {'content-id' => content.id}, :id => "edit_link_#{content.id}" }) %> <%= link_to(render_icon('unlink'), '#', { :onclick => "Alchemy.LinkOverlay.removeLink(this, #{content.id})", :class => content.linked? ? 'linked' : 'disabled', :title => _t(:unlink) }) %> <%= link_to_overlay_window( render_icon('edit'), alchemy.edit_admin_essence_picture_path( :id => content.essence.id, :content_id => content.id, :options => options.to_json ), { :title => _t(:edit_image_properties), :size => (options[:caption_as_textarea] ? (options[:manual_image_size] ? '380x230' : '380x210') : (options[:manual_image_size] ? '380x190' : '380x180')) }, :title => _t(:edit_image_properties) ) %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
alchemy_cms-2.7.0 | app/views/alchemy/essences/shared/_essence_picture_tools.html.erb |