Sha256: 6c84ff3f73d43e8c0c90bcc487d1fe57a9dc8639e4418bb0e7a39279cbb13de2

Contents?: true

Size: 777 Bytes

Versions: 10

Compression:

Stored size: 777 Bytes

Contents

<% any_tags = Alchemy::Attachment.tag_counts.any? %>
<%= toolbar(
  buttons: [
    {
      icon: 'upload',
      url: alchemy.new_admin_attachment_path,
      hotkey: 'alt+n',
      dialog_options: {
        title: _t(:upload_file),
        size: '540x515'
      },
      title: _t(:upload_file),
      class: 'icon_button',
      label: _t(:upload_file),
      if_permitted_to: [:create, Alchemy::Attachment]
    }
  ]
) %>
<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

10 entries across 10 versions & 1 rubygems

Version Path
alchemy_cms-3.0.4 app/views/alchemy/admin/attachments/index.html.erb
alchemy_cms-3.0.3 app/views/alchemy/admin/attachments/index.html.erb
alchemy_cms-3.1.0.beta1 app/views/alchemy/admin/attachments/index.html.erb
alchemy_cms-3.0.2 app/views/alchemy/admin/attachments/index.html.erb
alchemy_cms-3.0.1 app/views/alchemy/admin/attachments/index.html.erb
alchemy_cms-3.0.0 app/views/alchemy/admin/attachments/index.html.erb
alchemy_cms-3.0.0.rc8 app/views/alchemy/admin/attachments/index.html.erb
alchemy_cms-3.0.0.rc7 app/views/alchemy/admin/attachments/index.html.erb
alchemy_cms-3.0.0.rc6 app/views/alchemy/admin/attachments/index.html.erb
alchemy_cms-3.0.0.rc5 app/views/alchemy/admin/attachments/index.html.erb