Sha256: 81796106e15960fd7ce2d2658ee85753fefb912ff11061d0869f8d6e395dd1a4
Contents?: true
Size: 1.2 KB
Versions: 8
Compression:
Stored size: 1.2 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 %> <h4 id="sitemap_heading"> <span class="page_name"><%= Alchemy::Page.human_attribute_name(:name) %></span> </h4> <ul class="list" id="sitemap"> <%= render partial: "layoutpage", collection: @layout_root.children %> </ul>
Version data entries
8 entries across 8 versions & 1 rubygems