Sha256: 9445b5be46ffdfda7f88654e7a090464ca8398d4750c126286aa24a966065f99
Contents?: true
Size: 1.75 KB
Versions: 1
Compression:
Stored size: 1.75 KB
Contents
<li class="page_level_<%= layoutpage.level %>" id="page_<%= layoutpage.id %>"> <div class="sitemap_page<%= layoutpage.locked ? ' locked' : '' %>"> <div class="sitemap_left_images"> <%= render_icon(:page) %> </div> <div class="sitemap_right_tools"> <%- if can?(:configure, layoutpage) -%> <%= link_to_dialog( render_icon('configure_page'), alchemy.configure_admin_page_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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
alchemy_cms-3.0.0.rc5 | app/views/alchemy/admin/layoutpages/_layoutpage.html.erb |