Sha256: 8de5d83334b1d79e40c4e2a0741676bd797f322cb452c0c8bc133f37980b8960

Contents?: true

Size: 1.94 KB

Versions: 13

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 => '340x150'
        },
        :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

13 entries across 13 versions & 1 rubygems

Version Path
alchemy_cms-2.3.2 app/views/alchemy/admin/layoutpages/_layoutpage.html.erb
alchemy_cms-2.2.4 app/views/alchemy/admin/layoutpages/_layoutpage.html.erb
alchemy_cms-2.3.1 app/views/alchemy/admin/layoutpages/_layoutpage.html.erb
alchemy_cms-2.4.beta2 app/views/alchemy/admin/layoutpages/_layoutpage.html.erb
alchemy_cms-2.2.3.2 app/views/alchemy/admin/layoutpages/_layoutpage.html.erb
alchemy_cms-2.2.3.1 app/views/alchemy/admin/layoutpages/_layoutpage.html.erb
alchemy_cms-2.3.0 app/views/alchemy/admin/layoutpages/_layoutpage.html.erb
alchemy_cms-2.3.rc5 app/views/alchemy/admin/layoutpages/_layoutpage.html.erb
alchemy_cms-2.2.2 app/views/alchemy/admin/layoutpages/_layoutpage.html.erb
alchemy_cms-2.2.1 app/views/alchemy/admin/layoutpages/_layoutpage.html.erb
alchemy_cms-2.2.0 app/views/alchemy/admin/layoutpages/_layoutpage.html.erb
alchemy_cms-2.2.rc15 app/views/alchemy/admin/layoutpages/_layoutpage.html.erb
alchemy_cms-2.2.rc14 app/views/alchemy/admin/layoutpages/_layoutpage.html.erb