Sha256: 64060af61de048045f8de13d5faa98e557d497d95aa267ce072eb25f9f7f8a12

Contents?: true

Size: 702 Bytes

Versions: 8

Compression:

Stored size: 702 Bytes

Contents

<div id="sitemap-wrapper">
  <p class="loading"></p>
</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.Sitemap.init({
     url: '<%= alchemy.tree_admin_pages_path %>',
     page_root_id: <%= @page_root.id %>,
     full: <%= full %>
     <% if @sorting  %>
     ,ready: function () {
       Alchemy.PageSorter();
     }
     <% end %>
   });
 });
</script>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
alchemy_cms-4.5.1 app/views/alchemy/admin/pages/_sitemap.html.erb
alchemy_cms-4.4.5 app/views/alchemy/admin/pages/_sitemap.html.erb
alchemy_cms-4.5.0 app/views/alchemy/admin/pages/_sitemap.html.erb
alchemy_cms-4.4.4 app/views/alchemy/admin/pages/_sitemap.html.erb
alchemy_cms-4.4.3 app/views/alchemy/admin/pages/_sitemap.html.erb
alchemy_cms-4.4.2 app/views/alchemy/admin/pages/_sitemap.html.erb
alchemy_cms-4.4.1 app/views/alchemy/admin/pages/_sitemap.html.erb
alchemy_cms-4.4.0 app/views/alchemy/admin/pages/_sitemap.html.erb