Sha256: 6f79c19d6fac71533515bf5cd24639199a9900bfcdcdd0dee5a49b8a5eecbe61

Contents?: true

Size: 1005 Bytes

Versions: 2

Compression:

Stored size: 1005 Bytes

Contents

<h4 id="sitemap_heading">
  <span class="page_name"><%= Alchemy::Page.human_attribute_name(:name) %></span>
  <span class="page_urlname"><%= Alchemy::Page.human_attribute_name(:urlname) %></span>
  <span class="page_status"><%= Alchemy.t(:page_status) %></span>
</h4>

<div id="sitemap-wrapper">
</div>

<script id="sitemap-template" type="text/x-handlebars-template">
  <ul id="sitemap" class="list<%= @sorting ? ' sorting' : nil %>">
    {{> list}}
  </ul>
</script>

<script id="sitemap-list" type="text/x-handlebars-template">
  {{#each children}}
  <%= render partial: page_partial, object: @page_root %>
  {{/each}}
</script>

<script type="text/javascript">
 $(function() {
   Alchemy.currentSitemap = new Alchemy.Sitemap({
     url: '<%= alchemy.tree_admin_pages_path %>',
     page_root_id: <%= @page_root.id %>,
     full: <%= full %>
     <% if @sorting  %>
     ,ready: function () {
       Alchemy.PageSorter();
     }
     <% end %>
   });
   Alchemy.PagePublicationFields();
 });
</script>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
alchemy_cms-5.3.0 app/views/alchemy/admin/pages/_sitemap.html.erb
alchemy_cms-6.0.0.pre.rc6 app/views/alchemy/admin/pages/_sitemap.html.erb