Sha256: b4fa4f453ba5d47f54be4a460b97fdd86d6ab3f1857e7b884f5bc4620d16d1c8
Contents?: true
Size: 1.65 KB
Versions: 17
Compression:
Stored size: 1.65 KB
Contents
<% content_for(:subnav_additions) do %> <% unless @locked_pages.blank? %> <label><%= _t('Active Pages') %> »</label> <% @locked_pages.each do |page| %> <div class="subnavi_tab wide" id="locked_page_<%= page.id %>"> <%= link_to alchemy.edit_admin_page_path(page) do %> <span class="page_name" title="<%= page.name %>"> <%= truncate page.name, length: 15 %> </span> <% end %> <%= form_tag(alchemy.unlock_admin_page_path(page), remote: true) do %> <button class="icon_button small" title="<%= _t(:explain_unlocking) %>"> <%= render_icon('close small') %> </button> <% end %> </div> <% end %> <% end %> <% end %> <% content_for :toolbar do %> <div class="toolbar_buttons"> <%= render partial: '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', overlay_options: { title: _t('Add global page'), size: '340x150', overflow: true }, title: _t('Add global page'), label: _t('Add global page'), if_permitted_to: [:new, :alchemy_admin_pages] ) %> <%= toolbar_button( icon: "clipboard#{clipboard_empty?('pages') ? '' : ' full'}", url: alchemy.admin_clipboard_path(remarkable_type: 'pages'), overlay_options: { title: _t('Clipboard'), size: '380x270' }, title: _t('Show clipboard'), id: "clipboard_button", label: _t('Show clipboard') ) %> </div> <% end %> <ul class="list" id="layoutpages"> <%= render partial: "layoutpage", collection: @layout_root.children %> </ul>
Version data entries
17 entries across 17 versions & 1 rubygems