Sha256: 944aaf844010f14963df5af907f13d2b7bdce3a52f5ca0896062a1e3fae82e53

Contents?: true

Size: 1.17 KB

Versions: 32

Compression:

Stored size: 1.17 KB

Contents

<% label_title = Alchemy.t("Create #{resource_name}", default: Alchemy.t('Create')) %>

<% toolbar(
  buttons: [
    {
      icon: :plus,
      label: label_title,
      url: new_resource_path,
      title: label_title,
      hotkey: 'alt+n',
      dialog_options: {
        title: label_title,
        size: resource_window_size
      },
      if_permitted_to: [:create, resource_model]
    },
    {
      icon: 'download',
      url: resource_url_proxy.url_for(action: 'index', format: 'csv', q: search_filter_params[:q], sort: params[:sort]),
      label: Alchemy.t(:download_csv),
      title: Alchemy.t(:download_csv),
      dialog: false,
      if_permitted_to: [:index, resource_model]
    }
  ]
) %>

<div id="archive_all" class="resources-table-wrapper<%= ' with_tag_filter' if resource_has_tags || resource_has_filters %>">
  <%= render 'alchemy/admin/resources/table_header' %>
  <%= render 'table' %>

  <% if resource_has_tags || resource_has_filters %>
    <div id="library_sidebar">
      <% if resource_has_filters %>
        <%= render 'filter_bar' %>
      <% end %>

      <% if resource_has_tags %>
        <%= render 'tag_list' %>
      <% end %>
    </div>
  <% end %>
</div>

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
alchemy_cms-4.6.7 app/views/alchemy/admin/resources/index.html.erb
alchemy_cms-4.6.6 app/views/alchemy/admin/resources/index.html.erb
alchemy_cms-4.6.5 app/views/alchemy/admin/resources/index.html.erb
alchemy_cms-4.5.1 app/views/alchemy/admin/resources/index.html.erb
alchemy_cms-4.4.5 app/views/alchemy/admin/resources/index.html.erb
alchemy_cms-4.6.4 app/views/alchemy/admin/resources/index.html.erb
alchemy_cms-4.6.3 app/views/alchemy/admin/resources/index.html.erb
alchemy_cms-4.6.2 app/views/alchemy/admin/resources/index.html.erb
alchemy_cms-5.0.0.rc2 app/views/alchemy/admin/resources/index.html.erb
alchemy_cms-5.0.0.rc1 app/views/alchemy/admin/resources/index.html.erb
alchemy_cms-5.0.0.beta2 app/views/alchemy/admin/resources/index.html.erb
alchemy_cms-5.0.0.beta1 app/views/alchemy/admin/resources/index.html.erb
alchemy_cms-4.6.1 app/views/alchemy/admin/resources/index.html.erb
alchemy_cms-4.6.0 app/views/alchemy/admin/resources/index.html.erb
alchemy_cms-4.5.0 app/views/alchemy/admin/resources/index.html.erb
alchemy_cms-4.4.4 app/views/alchemy/admin/resources/index.html.erb
alchemy_cms-4.4.3 app/views/alchemy/admin/resources/index.html.erb
alchemy_cms-4.4.2 app/views/alchemy/admin/resources/index.html.erb
alchemy_cms-4.4.1 app/views/alchemy/admin/resources/index.html.erb
alchemy_cms-4.4.0 app/views/alchemy/admin/resources/index.html.erb