Sha256: 6fc7ee9bf4a00650ab8f2ac982611ecf46845a447fbb1a84b4f79486b85d2c98

Contents?: true

Size: 782 Bytes

Versions: 16

Compression:

Stored size: 782 Bytes

Contents

<% any_tags = Alchemy::Attachment.tag_counts.any? %>
<%= toolbar(
  buttons: [
    {
      icon: 'upload',
      url: alchemy.new_admin_attachment_path,
      hotkey: 'alt-n',
      overlay_options: {
        title: _t(:upload_file),
        size: '540x550'
      },
      title: _t(:upload_file),
      class: 'icon_button',
      label: _t(:upload_file),
      if_permitted_to: [:new, :alchemy_admin_attachments]
    }
  ]
) %>
<div id="archive_all" class="<%= any_tags ? 'with_tag_filter' : nil %>">
  <%= resources_header %>
  <%= render partial: 'files_list' %>
  <% if any_tags %>
  <div id="library_sidebar">
    <div id="tag_list" class="<%= params[:tagged_with].present? ? 'filtered' : '' %>">
      <%= render partial: 'tag_list' %>
    </div>
  </div>
  <% end %>
</div>

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
alchemy_cms-2.9.1 app/views/alchemy/admin/attachments/index.html.erb
alchemy_cms-2.9.0 app/views/alchemy/admin/attachments/index.html.erb
alchemy_cms-2.8.3 app/views/alchemy/admin/attachments/index.html.erb
alchemy_cms-2.7.5 app/views/alchemy/admin/attachments/index.html.erb
alchemy_cms-2.6.3 app/views/alchemy/admin/attachments/index.html.erb
alchemy_cms-2.7.4 app/views/alchemy/admin/attachments/index.html.erb
alchemy_cms-2.8.2 app/views/alchemy/admin/attachments/index.html.erb
alchemy_cms-2.8.1 app/views/alchemy/admin/attachments/index.html.erb
alchemy_cms-2.7.3 app/views/alchemy/admin/attachments/index.html.erb
alchemy_cms-2.7.2 app/views/alchemy/admin/attachments/index.html.erb
alchemy_cms-2.7.1 app/views/alchemy/admin/attachments/index.html.erb
alchemy_cms-2.7.0 app/views/alchemy/admin/attachments/index.html.erb
alchemy_cms-2.6.2.1 app/views/alchemy/admin/attachments/index.html.erb
alchemy_cms-2.6.2 app/views/alchemy/admin/attachments/index.html.erb
alchemy_cms-2.6.1 app/views/alchemy/admin/attachments/index.html.erb
alchemy_cms-2.6.0 app/views/alchemy/admin/attachments/index.html.erb