Sha256: 28ea94a873246fcea5478943ea61d130774f1fd08f649f27c778f61b90296f3e

Contents?: true

Size: 1.95 KB

Versions: 9

Compression:

Stored size: 1.95 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

9 entries across 9 versions & 1 rubygems

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