Sha256: 76679d7189908748a668256de381b9903c51a7d28d6bdb26b0e8c339c409be49

Contents?: true

Size: 1.53 KB

Versions: 6

Compression:

Stored size: 1.53 KB

Contents

<%= link_to_overlay_window(
  render_icon('crop'),
  crop_admin_essence_picture_path(content.essence, :options => options),
  {
    :size => "fullscreen",
    :title => _('Edit Picturemask')
  },
  {
    :class => necessary_options_for_cropping_provided?(options) ? nil : 'disabled',
    :title => _('Edit Picturemask')
  }
) %>

<%= link_to_overlay_window(
  render_icon('swap_picture'),
  url_for(
    :controller => 'pictures',
    :action => 'archive_overlay',
    :element_id => content.element,
    :content_id => content,
    :swap => true,
    :options => options
  ),
  {
    :title => _('swap_image'),
    :size => '720x580',
    :resizable => "true"
  },
  :title => _('swap_image')
) %>

<%= link_to_function(
  render_icon('link'),
  "Alchemy.LinkOverlay.open(this, 420)",
  :class => content.linked? ? 'linked' : nil,
  :title => _('link_image'),
  :name => "essence_picture_#{content.id}",
  :id => "edit_link_#{content.id}"
) %>

<%= link_to_function(
  render_icon('unlink'),
  "Alchemy.LinkOverlay.removeLink(this, #{content.id})",
  :class => content.linked? ? 'linked' : 'disabled',
  :title => _('unlink')
) %>

<%= link_to_overlay_window(
  render_icon('edit'),
  edit_admin_essence_picture_path(
    :id => content.essence.id,
    :content_id => content.id,
    :options => options
  ),
  {
    :title => _('edit_image_properties'),
    :size => (options[:caption_as_textarea] ? (options[:manual_image_size] ? '380x230' : '380x210') : (options[:manual_image_size] ? '380x190' : '380x180'))
  },
  :title => _('edit_image_properties')
) %>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
alchemy_cms-2.0.rc2 app/views/essences/_essence_picture_tools.html.erb
alchemy_cms-2.0.rc1 app/views/essences/_essence_picture_tools.html.erb
alchemy_cms-2.0.pre5 app/views/essences/_essence_picture_tools.html.erb
alchemy_cms-2.0.pre4 app/views/essences/_essence_picture_tools.html.erb
alchemy_cms-2.0.pre3 app/views/essences/_essence_picture_tools.html.erb
alchemy_cms-2.0.pre2 app/views/essences/_essence_picture_tools.html.erb