Sha256: 3920e4fe762add27310c394be32d45382fa7f1743749e71a3721c6457d0dbfdd

Contents?: true

Size: 1.09 KB

Versions: 22

Compression:

Stored size: 1.09 KB

Contents

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

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

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
alchemy_cms-4.5.1 app/views/alchemy/admin/layoutpages/index.html.erb
alchemy_cms-4.4.5 app/views/alchemy/admin/layoutpages/index.html.erb
alchemy_cms-4.5.0 app/views/alchemy/admin/layoutpages/index.html.erb
alchemy_cms-4.4.4 app/views/alchemy/admin/layoutpages/index.html.erb
alchemy_cms-4.4.3 app/views/alchemy/admin/layoutpages/index.html.erb
alchemy_cms-4.4.2 app/views/alchemy/admin/layoutpages/index.html.erb
alchemy_cms-4.4.1 app/views/alchemy/admin/layoutpages/index.html.erb
alchemy_cms-4.4.0 app/views/alchemy/admin/layoutpages/index.html.erb
alchemy_cms-4.3.2 app/views/alchemy/admin/layoutpages/index.html.erb
alchemy_cms-4.2.4 app/views/alchemy/admin/layoutpages/index.html.erb
alchemy_cms-4.3.1 app/views/alchemy/admin/layoutpages/index.html.erb
alchemy_cms-4.2.3 app/views/alchemy/admin/layoutpages/index.html.erb
alchemy_cms-4.3.0 app/views/alchemy/admin/layoutpages/index.html.erb
alchemy_cms-4.2.2 app/views/alchemy/admin/layoutpages/index.html.erb
alchemy_cms-4.1.2 app/views/alchemy/admin/layoutpages/index.html.erb
alchemy_cms-4.1.1 app/views/alchemy/admin/layoutpages/index.html.erb
alchemy_cms-4.2.1 app/views/alchemy/admin/layoutpages/index.html.erb
alchemy_cms-4.2.0 app/views/alchemy/admin/layoutpages/index.html.erb
alchemy_cms-4.2.0.rc1 app/views/alchemy/admin/layoutpages/index.html.erb
alchemy_cms-4.1.0 app/views/alchemy/admin/layoutpages/index.html.erb