Sha256: e23f3d519bfb031b10e9513261e265edc21a8237803dd9ff952ec66d30e7aaa3
Contents?: true
Size: 2 KB
Versions: 21
Compression:
Stored size: 2 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.definition.blank? %> <%= page_layout_missing_warning %> <% else %> <%= render_icon(:page) %> <% end %> </div> <div class="sitemap_right_tools"> <%- if can?(:configure, layoutpage) -%> <div class="button_with_label sitemap_tool"> <%= link_to_dialog( render_icon('configure_page'), alchemy.edit_admin_layoutpage_path(layoutpage), { title: Alchemy.t(:edit_page_properties), size: '410x170' } ) -%> <label class="center"><%= Alchemy.t(:edit_page_properties) %></label> </div> <%- end -%> <%- if can?(:copy, layoutpage) -%> <div class="button_with_label sitemap_tool"> <%= 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' ) %> <label class="center"><%= Alchemy.t(:copy_page) %></label> </div> <%- end -%> <%- if can?(:destroy, layoutpage) -%> <div class="button_with_label sitemap_tool"> <%= link_to_confirm_dialog( render_icon('delete_page'), Alchemy.t(:confirm_to_delete_page), url_for( controller: 'pages', action: 'destroy', id: layoutpage.id ) ) -%> <label class="left"><%= Alchemy.t(:delete_page) %></label> </div> <%- end -%> </div> <div class="sitemap_sitename"> <%= link_to( layoutpage.name, alchemy.edit_admin_page_path(layoutpage), title: Alchemy.t(:edit_page), class: "sitemap_pagename_link #{cycle('even', 'odd')}" ) -%> </div> </div> </li>
Version data entries
21 entries across 21 versions & 1 rubygems