Sha256: e6d6435256cf4af176108c6c64882eb2318a737e464c4c08be427f71d3618232

Contents?: true

Size: 1.04 KB

Versions: 25

Compression:

Stored size: 1.04 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: '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

25 entries across 25 versions & 1 rubygems

Version Path
alchemy_cms-4.0.6 app/views/alchemy/admin/layoutpages/index.html.erb
alchemy_cms-3.6.7 app/views/alchemy/admin/layoutpages/index.html.erb
alchemy_cms-3.6.6 app/views/alchemy/admin/layoutpages/index.html.erb
alchemy_cms-4.0.5 app/views/alchemy/admin/layoutpages/index.html.erb
alchemy_cms-4.0.4 app/views/alchemy/admin/layoutpages/index.html.erb
alchemy_cms-4.0.3 app/views/alchemy/admin/layoutpages/index.html.erb
alchemy_cms-3.6.5 app/views/alchemy/admin/layoutpages/index.html.erb
alchemy_cms-4.0.2 app/views/alchemy/admin/layoutpages/index.html.erb
alchemy_cms-4.0.1 app/views/alchemy/admin/layoutpages/index.html.erb
alchemy_cms-3.6.4 app/views/alchemy/admin/layoutpages/index.html.erb
alchemy_cms-4.0.0 app/views/alchemy/admin/layoutpages/index.html.erb
alchemy_cms-3.6.3 app/views/alchemy/admin/layoutpages/index.html.erb
alchemy_cms-3.6.2 app/views/alchemy/admin/layoutpages/index.html.erb
alchemy_cms-4.0.0.rc2 app/views/alchemy/admin/layoutpages/index.html.erb
alchemy_cms-4.0.0.rc1 app/views/alchemy/admin/layoutpages/index.html.erb
alchemy_cms-3.6.1 app/views/alchemy/admin/layoutpages/index.html.erb
alchemy_cms-4.0.0.beta app/views/alchemy/admin/layoutpages/index.html.erb
alchemy_cms-3.6.0 app/views/alchemy/admin/layoutpages/index.html.erb
alchemy_cms-3.5.0 app/views/alchemy/admin/layoutpages/index.html.erb
alchemy_cms-3.4.2 app/views/alchemy/admin/layoutpages/index.html.erb