Sha256: 47d489bedd76f87bfbc1aa428e3cab0faa50d18284ef19f68a8b8dcccaccee63

Contents?: true

Size: 1.22 KB

Versions: 26

Compression:

Stored size: 1.22 KB

Contents

<% if @locked_pages.present? %>
  <% content_for(:subnav_additions) do %>
    <label><%= _t('Active Pages') %> &raquo;</label>
    <%= render partial: 'alchemy/admin/pages/locked_page', collection: @locked_pages %>
  <% end %>
<% end %>

<% content_for :toolbar do %>
<div class="toolbar_buttons">
  <%= render partial: 'alchemy/admin/partials/language_tree_select' %>
  <div class="toolbar_spacer"></div>
  <%= toolbar_button(
    icon: 'add_page',
    url: alchemy.new_admin_page_path(parent_id: @layout_root.id, layoutpage: true),
    hotkey: 'alt+n',
    dialog_options: {
      title: _t('Add global page'),
      size: '340x170',
      overflow: true
    },
    title: _t('Add global page'),
    label: _t('Add global page'),
    if_permitted_to: [:create, Alchemy::Page]
  ) %>
  <%= toolbar_button(
    icon: "clipboard#{clipboard_empty?('pages') ? '' : ' full'}",
    url: alchemy.admin_clipboard_path(remarkable_type: 'pages'),
    dialog_options: {
      title: _t('Clipboard'),
      size: '380x270'
    },
    title: _t('Show clipboard'),
    id: "clipboard_button",
    label: _t('Show clipboard')
  ) %>
</div>
<% end %>

<ul class="list" id="layoutpages">
  <%= render partial: "layoutpage", collection: @layout_root.children %>
</ul>

Version data entries

26 entries across 26 versions & 2 rubygems

Version Path
alchemy_cms-3.2.1 app/views/alchemy/admin/layoutpages/index.html.erb
alchemy_cms-3.1.3 app/views/alchemy/admin/layoutpages/index.html.erb
lc_alchemy_cms-3.2.1 app/views/alchemy/admin/layoutpages/index.html.erb
lc_alchemy_cms-3.2.0 app/views/alchemy/admin/layoutpages/index.html.erb
alchemy_cms-3.2.0 app/views/alchemy/admin/layoutpages/index.html.erb
alchemy_cms-3.2.0.rc1 app/views/alchemy/admin/layoutpages/index.html.erb
alchemy_cms-3.2.0.beta app/views/alchemy/admin/layoutpages/index.html.erb
alchemy_cms-3.1.1 app/views/alchemy/admin/layoutpages/index.html.erb
alchemy_cms-3.0.4 app/views/alchemy/admin/layoutpages/index.html.erb
alchemy_cms-3.1.0 app/views/alchemy/admin/layoutpages/index.html.erb
alchemy_cms-3.1.0.rc3 app/views/alchemy/admin/layoutpages/index.html.erb
alchemy_cms-3.1.0.rc2 app/views/alchemy/admin/layoutpages/index.html.erb
alchemy_cms-3.1.0.rc1 app/views/alchemy/admin/layoutpages/index.html.erb
alchemy_cms-3.1.0.beta6 app/views/alchemy/admin/layoutpages/index.html.erb
alchemy_cms-3.1.0.beta5 app/views/alchemy/admin/layoutpages/index.html.erb
alchemy_cms-3.1.0.beta4 app/views/alchemy/admin/layoutpages/index.html.erb
alchemy_cms-3.0.3 app/views/alchemy/admin/layoutpages/index.html.erb
alchemy_cms-3.1.0.beta3 app/views/alchemy/admin/layoutpages/index.html.erb
alchemy_cms-3.1.0.beta2 app/views/alchemy/admin/layoutpages/index.html.erb
alchemy_cms-3.1.0.beta1 app/views/alchemy/admin/layoutpages/index.html.erb