Sha256: 22847b2c3bc7d1084cc1b4a8ed201b640f434b1cbb4b81685eb5ba656d694a7e

Contents?: true

Size: 1.94 KB

Versions: 7

Compression:

Stored size: 1.94 KB

Contents

<li class="page_level_<%= layoutpage.level %>" id="page_<%= layoutpage.id %>">
  <div class="sitemap_page">
    <div class="sitemap_left_images">
      <span class="site_status <%= layoutpage.locked ? ' locked' : '' %>" ></span>
    </div>
    <div class="sitemap_right_tools">
      <%- permitted_to?(:configure, :alchemy_admin_pages) do -%>
      <%= link_to_overlay_window(
        render_icon('configure_page'),
        alchemy.configure_admin_page_path(layoutpage),
        {
          :title => _t(:edit_page_properties),
          :size => '410x150'
        },
        :class => '',
        :title => _t(:edit_page_properties)
      ) -%>
      <%- end -%>
      <%- permitted_to?([:new, :destroy, :copy], :alchemy_admin_pages) do -%>
      <span class="sitemap_sitetools">
        <%- permitted_to?(:copy, :alchemy_admin_pages) do -%>
        <%= link_to(
          render_icon("copy_page"),
          alchemy.insert_admin_clipboard_path(
            :remarkable_type => layoutpage.class.name.demodulize.underscore.pluralize,
            :remarkable_id => layoutpage.id
          ),
          :remote => true,
          :method => :post,
          :class => "",
          :title => _t(:copy_page)
        ) %>
        <%- end -%>
        <%- permitted_to?(:destroy, :alchemy_admin_pages) do -%>
        <%= link_to_confirmation_window(
          render_icon('delete_page'),
          _t(:confirm_to_delete_page),
          url_for(
            :controller => 'pages',
            :action => 'destroy',
            :id => layoutpage.id
          ),
          {
            :class => "",
            :title => _t(:delete_page)
          }
        ) -%>
        <%- end -%>
      </span>
      <%- end -%>
    </div>
    <div class="sitemap_sitename">
      <%= link_to(
        layoutpage.name,
        alchemy.edit_admin_page_path(layoutpage),
        :title => _t(:edit_page),
        :class => "sitemap_pagename_link #{cycle('even', 'odd')}"
      ) -%>
    </div>
  </div>
</li>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
alchemy_cms-2.6.3 app/views/alchemy/admin/layoutpages/_layoutpage.html.erb
alchemy_cms-2.7.0 app/views/alchemy/admin/layoutpages/_layoutpage.html.erb
alchemy_cms-2.6.2.1 app/views/alchemy/admin/layoutpages/_layoutpage.html.erb
alchemy_cms-2.6.2 app/views/alchemy/admin/layoutpages/_layoutpage.html.erb
alchemy_cms-2.6.1 app/views/alchemy/admin/layoutpages/_layoutpage.html.erb
alchemy_cms-2.6.0 app/views/alchemy/admin/layoutpages/_layoutpage.html.erb
alchemy_cms-2.6.0.rc5 app/views/alchemy/admin/layoutpages/_layoutpage.html.erb