Sha256: 28707dd7ab1e63c82576444a40d2943092b628571d3b1e9d022481b3182eecea

Contents?: true

Size: 1.66 KB

Versions: 9

Compression:

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

9 entries across 9 versions & 1 rubygems

Version Path
alchemy_cms-2.5.3.1 app/views/alchemy/admin/layoutpages/index.html.erb
alchemy_cms-2.5.3 app/views/alchemy/admin/layoutpages/index.html.erb
alchemy_cms-2.5.2.2 app/views/alchemy/admin/layoutpages/index.html.erb
alchemy_cms-2.5.2.1 app/views/alchemy/admin/layoutpages/index.html.erb
alchemy_cms-2.5.2 app/views/alchemy/admin/layoutpages/index.html.erb
alchemy_cms-2.5.1 app/views/alchemy/admin/layoutpages/index.html.erb
alchemy_cms-2.5.0 app/views/alchemy/admin/layoutpages/index.html.erb
alchemy_cms-2.5.0.rc3 app/views/alchemy/admin/layoutpages/index.html.erb
alchemy_cms-2.5.0.b9 app/views/alchemy/admin/layoutpages/index.html.erb