Sha256: 7d0c81574261661c1c7d3bcbd95ae20db141f539963f8a20bf8f07a8682c22d9

Contents?: true

Size: 1.19 KB

Versions: 108

Compression:

Stored size: 1.19 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(language: @current_language, 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 %>

<h4 id="sitemap_heading">
  <span class="page_name"><%= Alchemy::Page.human_attribute_name(:name) %></span>
</h4>

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

Version data entries

108 entries across 108 versions & 1 rubygems

Version Path
alchemy_cms-7.0.16 app/views/alchemy/admin/layoutpages/index.html.erb
alchemy_cms-7.0.15 app/views/alchemy/admin/layoutpages/index.html.erb
alchemy_cms-6.1.10 app/views/alchemy/admin/layoutpages/index.html.erb
alchemy_cms-7.0.14 app/views/alchemy/admin/layoutpages/index.html.erb
alchemy_cms-7.0.13 app/views/alchemy/admin/layoutpages/index.html.erb
alchemy_cms-7.0.12 app/views/alchemy/admin/layoutpages/index.html.erb
alchemy_cms-7.0.11 app/views/alchemy/admin/layoutpages/index.html.erb
alchemy_cms-7.0.10 app/views/alchemy/admin/layoutpages/index.html.erb
alchemy_cms-7.0.9 app/views/alchemy/admin/layoutpages/index.html.erb
alchemy_cms-7.0.8 app/views/alchemy/admin/layoutpages/index.html.erb
alchemy_cms-7.0.7 app/views/alchemy/admin/layoutpages/index.html.erb
alchemy_cms-7.0.6 app/views/alchemy/admin/layoutpages/index.html.erb
alchemy_cms-7.0.5 app/views/alchemy/admin/layoutpages/index.html.erb
alchemy_cms-7.0.4 app/views/alchemy/admin/layoutpages/index.html.erb
alchemy_cms-7.0.3 app/views/alchemy/admin/layoutpages/index.html.erb
alchemy_cms-6.1.9 app/views/alchemy/admin/layoutpages/index.html.erb
alchemy_cms-7.0.2 app/views/alchemy/admin/layoutpages/index.html.erb
alchemy_cms-6.1.8 app/views/alchemy/admin/layoutpages/index.html.erb
alchemy_cms-6.1.7 app/views/alchemy/admin/layoutpages/index.html.erb
alchemy_cms-7.0.1 app/views/alchemy/admin/layoutpages/index.html.erb