Sha256: 1b7466a9f7531e9c71ceeaf2b336722ba2aaaedc6f6a3be3fd42b300495446bb

Contents?: true

Size: 1.92 KB

Versions: 13

Compression:

Stored size: 1.92 KB

Contents

<li class="page_level_<%= layoutpage.level %>" id="page_<%= layoutpage.id %>">
  <div class="sitemap_page<%= layoutpage.locked ? ' locked' : '' %>">
    <div class="sitemap_left_images">
    <% if layoutpage.layout_description.blank? %>
      <span class="inline warning icon" title="<%= _t(:page_layout_description_missing) %>"></span>
    <% else %>
      <%= render_icon(:page) %>
    <% end %>
    </div>
    <div class="sitemap_right_tools">
      <%- if can?(:configure, layoutpage) -%>
      <%= link_to_dialog(
        render_icon('configure_page'),
        alchemy.edit_admin_layoutpage_path(layoutpage),
        {
          title: _t(:edit_page_properties),
          size: '410x170'
        },
        class: 'sitemap_tool',
        title: _t(:edit_page_properties)
      ) -%>
      <%- end -%>
      <span class="sitemap_sitetools">
      <%- if can?(:copy, layoutpage) -%>
        <%= 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: "sitemap_tool",
          title: _t(:copy_page)
        ) %>
      <%- end -%>
      <%- if can?(:destroy, layoutpage) -%>
        <%= link_to_confirm_dialog(
          render_icon('delete_page'),
          _t(:confirm_to_delete_page),
          url_for(
            controller: 'pages',
            action: 'destroy',
            id: layoutpage.id
          ),
          {
            class: "sitemap_tool",
            title: _t(:delete_page)
          }
        ) -%>
      <%- end -%>
      </span>
    </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 & 2 rubygems

Version Path
alchemy_cms-3.2.1 app/views/alchemy/admin/layoutpages/_layoutpage.html.erb
alchemy_cms-3.1.3 app/views/alchemy/admin/layoutpages/_layoutpage.html.erb
lc_alchemy_cms-3.2.1 app/views/alchemy/admin/layoutpages/_layoutpage.html.erb
lc_alchemy_cms-3.2.0 app/views/alchemy/admin/layoutpages/_layoutpage.html.erb
alchemy_cms-3.2.0 app/views/alchemy/admin/layoutpages/_layoutpage.html.erb
alchemy_cms-3.2.0.rc1 app/views/alchemy/admin/layoutpages/_layoutpage.html.erb
alchemy_cms-3.2.0.beta app/views/alchemy/admin/layoutpages/_layoutpage.html.erb
alchemy_cms-3.1.1 app/views/alchemy/admin/layoutpages/_layoutpage.html.erb
alchemy_cms-3.1.0 app/views/alchemy/admin/layoutpages/_layoutpage.html.erb
alchemy_cms-3.1.0.rc3 app/views/alchemy/admin/layoutpages/_layoutpage.html.erb
alchemy_cms-3.1.0.rc2 app/views/alchemy/admin/layoutpages/_layoutpage.html.erb
alchemy_cms-3.1.0.rc1 app/views/alchemy/admin/layoutpages/_layoutpage.html.erb
alchemy_cms-3.1.0.beta6 app/views/alchemy/admin/layoutpages/_layoutpage.html.erb