Sha256: 430de75dc24b1c445cda94d9a911ae1e6f5d6873af09a5a37284c6cceb44ca2f

Contents?: true

Size: 2 KB

Versions: 16

Compression:

Stored size: 2 KB

Contents

<div id="image_assign_filter_and_image_sizing">
  <div class="button_with_label">
    <%= link_to(
      render_icon('zoom-out'),
      alchemy.admin_pictures_path({
        :size => "small",
        :content_id => @content,
        :element_id => @element,
        :swap => @swap,
        :query => params[:query],
        :options => @options
      }),
      :remote => true,
      :title => t("small_thumbnails"),
      :class => "icon_button"
    ) %>
    <%= link_to(
      render_icon('zoom-equal'),
      alchemy.admin_pictures_path({
        :size => "medium",
        :content_id => @content,
        :element_id => @element,
        :swap => @swap,
        :query => params[:query],
        :options => @options
      }),
      :remote => true,
      :title => t("medium_thumbnails"),
      :class => "icon_button"
    ) %>
    <%= link_to(
      render_icon('zoom-in'),
      alchemy.admin_pictures_path({
        :size => "large",
        :content_id => @content,
        :element_id => @element,
        :swap => @swap,
        :query => params[:query],
        :options => @options
      }),
      :remote => true,
      :title => t("big_thumbnails"),
      :class => "icon_button"
    ) %>
    <label><%= t('Image size') %></label>
    <%= hidden_field_tag('size', @size, :id => 'overlay_thumbnails_size') %>
  </div>
  <div class="toolbar_spacer"></div>
  <div class="button_with_label">
  <%= link_to_overlay_window(
    render_icon('upload'),
    alchemy.new_admin_picture_path(
      :element_id => @element.blank? ? nil : @element.id,
      :content_id => @content.blank? ? nil : @content.id,
      :swap => @swap,
      :page => params[:page],
      :per_page => params[:per_page],
      :size => @size,
      :options => @options
    ),
    {
      :size => "540x550",
      :title => t('upload_image')
    },
    {
      :class => 'icon_button',
      :title => t('upload_image')
    }
  ) %>
  <label><%= t('upload_image') %></label>
  </div>
  <%= render(:partial => 'alchemy/admin/partials/remote_search_form') %>
</div>

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
alchemy_cms-2.2.4 app/views/alchemy/admin/pictures/_filter_and_size_bar.html.erb
alchemy_cms-2.2.3.2 app/views/alchemy/admin/pictures/_filter_and_size_bar.html.erb
alchemy_cms-2.2.3.1 app/views/alchemy/admin/pictures/_filter_and_size_bar.html.erb
alchemy_cms-2.2.2 app/views/alchemy/admin/pictures/_filter_and_size_bar.html.erb
alchemy_cms-2.2.1 app/views/alchemy/admin/pictures/_filter_and_size_bar.html.erb
alchemy_cms-2.2.0 app/views/alchemy/admin/pictures/_filter_and_size_bar.html.erb
alchemy_cms-2.2.rc15 app/views/alchemy/admin/pictures/_filter_and_size_bar.html.erb
alchemy_cms-2.2.rc14 app/views/alchemy/admin/pictures/_filter_and_size_bar.html.erb
alchemy_cms-2.2.rc13 app/views/alchemy/admin/pictures/_filter_and_size_bar.html.erb
alchemy_cms-2.2.rc11 app/views/alchemy/admin/pictures/_filter_and_size_bar.html.erb
alchemy_cms-2.2.rc8 app/views/alchemy/admin/pictures/_filter_and_size_bar.html.erb
alchemy_cms-2.2.rc7 app/views/alchemy/admin/pictures/_filter_and_size_bar.html.erb
alchemy_cms-2.2.rc6 app/views/alchemy/admin/pictures/_filter_and_size_bar.html.erb
alchemy_cms-2.2.rc3 app/views/alchemy/admin/pictures/_filter_and_size_bar.html.erb
alchemy_cms-2.2.rc2 app/views/alchemy/admin/pictures/_filter_and_size_bar.html.erb
alchemy_cms-2.2.rc1 app/views/alchemy/admin/pictures/_filter_and_size_bar.html.erb