Sha256: 69cd9c0af6783379254d6ed68d1495ebbc0319825068ea4646c453eeadb43038
Contents?: true
Size: 1.68 KB
Versions: 5
Compression:
Stored size: 1.68 KB
Contents
<% if options[:crop].to_s == 'true' && content.ingredient %> <%= link_to_overlay_window( render_icon('crop'), alchemy.crop_admin_essence_picture_path(content.essence, :options => options), { :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, :swap => true, :options => options ), { :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 ), { :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
5 entries across 5 versions & 1 rubygems