Sha256: a71d83252ce282d10b60d73698266f810a1ca9d009c97f689937ec6b826a2181

Contents?: true

Size: 1.65 KB

Versions: 21

Compression:

Stored size: 1.65 KB

Contents

<%- content_for(:subnav_additions) do -%>
<%- unless @locked_pages.blank? -%>
<label><%= t('Active Pages') %> &raquo;</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 id="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),
    :overlay_options => {
      :title => t('Add global page'),
      :size => '405x150',
      :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

21 entries across 21 versions & 1 rubygems

Version Path
alchemy_cms-2.3.2 app/views/alchemy/admin/layoutpages/index.html.erb
alchemy_cms-2.2.4 app/views/alchemy/admin/layoutpages/index.html.erb
alchemy_cms-2.3.1 app/views/alchemy/admin/layoutpages/index.html.erb
alchemy_cms-2.4.beta2 app/views/alchemy/admin/layoutpages/index.html.erb
alchemy_cms-2.2.3.2 app/views/alchemy/admin/layoutpages/index.html.erb
alchemy_cms-2.2.3.1 app/views/alchemy/admin/layoutpages/index.html.erb
alchemy_cms-2.3.0 app/views/alchemy/admin/layoutpages/index.html.erb
alchemy_cms-2.3.rc5 app/views/alchemy/admin/layoutpages/index.html.erb
alchemy_cms-2.2.2 app/views/alchemy/admin/layoutpages/index.html.erb
alchemy_cms-2.2.1 app/views/alchemy/admin/layoutpages/index.html.erb
alchemy_cms-2.2.0 app/views/alchemy/admin/layoutpages/index.html.erb
alchemy_cms-2.2.rc15 app/views/alchemy/admin/layoutpages/index.html.erb
alchemy_cms-2.2.rc14 app/views/alchemy/admin/layoutpages/index.html.erb
alchemy_cms-2.2.rc13 app/views/alchemy/admin/layoutpages/index.html.erb
alchemy_cms-2.2.rc11 app/views/alchemy/admin/layoutpages/index.html.erb
alchemy_cms-2.2.rc8 app/views/alchemy/admin/layoutpages/index.html.erb
alchemy_cms-2.2.rc7 app/views/alchemy/admin/layoutpages/index.html.erb
alchemy_cms-2.2.rc6 app/views/alchemy/admin/layoutpages/index.html.erb
alchemy_cms-2.2.rc3 app/views/alchemy/admin/layoutpages/index.html.erb
alchemy_cms-2.2.rc2 app/views/alchemy/admin/layoutpages/index.html.erb