Sha256: d570bcc843ec0eef8d7cde1a00870e0edcbcae0d4c3cce5d235fafe0193dcfa6

Contents?: true

Size: 1.94 KB

Versions: 10

Compression:

Stored size: 1.94 KB

Contents

<li class="page_level_<%= layoutpage.level %>" id="page_<%= layoutpage.id %>">
  <div class="sitemap_page<%= layoutpage.locked ? ' locked' : '' %>">
    <div class="sitemap_left_images">
      <span class="site_status"></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

10 entries across 10 versions & 1 rubygems

Version Path
alchemy_cms-2.9.1 app/views/alchemy/admin/layoutpages/_layoutpage.html.erb
alchemy_cms-2.9.0 app/views/alchemy/admin/layoutpages/_layoutpage.html.erb
alchemy_cms-2.8.3 app/views/alchemy/admin/layoutpages/_layoutpage.html.erb
alchemy_cms-2.7.5 app/views/alchemy/admin/layoutpages/_layoutpage.html.erb
alchemy_cms-2.7.4 app/views/alchemy/admin/layoutpages/_layoutpage.html.erb
alchemy_cms-2.8.2 app/views/alchemy/admin/layoutpages/_layoutpage.html.erb
alchemy_cms-2.8.1 app/views/alchemy/admin/layoutpages/_layoutpage.html.erb
alchemy_cms-2.7.3 app/views/alchemy/admin/layoutpages/_layoutpage.html.erb
alchemy_cms-2.7.2 app/views/alchemy/admin/layoutpages/_layoutpage.html.erb
alchemy_cms-2.7.1 app/views/alchemy/admin/layoutpages/_layoutpage.html.erb