Sha256: 8f59e34a3a4fba142e30160a4f2b9e07fdbd12aad7728adbb0a352366c3b66b9

Contents?: true

Size: 1.03 KB

Versions: 6

Compression:

Stored size: 1.03 KB

Contents

<% 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: 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#{clipboard_empty?('pages') ? '' : ' full'}",
    url: alchemy.admin_clipboard_path(remarkable_type: 'pages'),
    dialog_options: {
      title: Alchemy.t('Clipboard'),
      size: '380x270'
    },
    title: Alchemy.t('Show clipboard'),
    id: "clipboard_button",
    label: Alchemy.t('Show clipboard')
  ) %>
</div>
<% end %>

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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
alchemy_cms-3.3.3 app/views/alchemy/admin/layoutpages/index.html.erb
alchemy_cms-3.3.2 app/views/alchemy/admin/layoutpages/index.html.erb
alchemy_cms-3.3.1 app/views/alchemy/admin/layoutpages/index.html.erb
alchemy_cms-3.3.0 app/views/alchemy/admin/layoutpages/index.html.erb
alchemy_cms-3.3.0.rc2 app/views/alchemy/admin/layoutpages/index.html.erb
alchemy_cms-3.3.0.rc1 app/views/alchemy/admin/layoutpages/index.html.erb