Sha256: e3798d57db20f14219adb2304722e2f652df550f122cd3702e641a277f416692

Contents?: true

Size: 1.52 KB

Versions: 12

Compression:

Stored size: 1.52 KB

Contents

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

<%= link_to_overlay_window(
  render_icon('swap_picture'),
  alchemy.admin_pictures_path(
    :element_id => content.element,
    :content_id => content,
    :swap => true,
    :options => options
  ),
  {
    :title => t('swap_image'),
    :size => '720x580',
    :resizable => "true"
  },
  :title => t('swap_image')
) %>

<%= link_to_function(
  render_icon('link'),
  "Alchemy.LinkOverlay.open(this, 420)",
  :class => content.linked? ? 'linked' : nil,
  :title => t('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 => 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

12 entries across 12 versions & 1 rubygems

Version Path
alchemy_cms-2.1.4 app/views/alchemy/essences/_essence_picture_tools.html.erb
alchemy_cms-2.1.3 app/views/alchemy/essences/_essence_picture_tools.html.erb
alchemy_cms-2.1.2 app/views/alchemy/essences/_essence_picture_tools.html.erb
alchemy_cms-2.1.1 app/views/alchemy/essences/_essence_picture_tools.html.erb
alchemy_cms-2.1 app/views/alchemy/essences/_essence_picture_tools.html.erb
alchemy_cms-2.1.rc6 app/views/alchemy/essences/_essence_picture_tools.html.erb
alchemy_cms-2.1.rc5 app/views/alchemy/essences/_essence_picture_tools.html.erb
alchemy_cms-2.1.rc4 app/views/alchemy/essences/_essence_picture_tools.html.erb
alchemy_cms-2.1.rc3 app/views/alchemy/essences/_essence_picture_tools.html.erb
alchemy_cms-2.1.rc2 app/views/alchemy/essences/_essence_picture_tools.html.erb
alchemy_cms-2.1.beta6 app/views/alchemy/essences/_essence_picture_tools.html.erb
alchemy_cms-2.1.beta5 app/views/alchemy/essences/_essence_picture_tools.html.erb