Sha256: 62b8a5cfc611a76fda65adadae041ebd8360e45140379448f4ac9d8537209a19

Contents?: true

Size: 919 Bytes

Versions: 13

Compression:

Stored size: 919 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.init();
     }
     <% elsif action_name == 'link' %>
     ,spinner: Alchemy.Spinner.small(),
     ready: function () {
       if (Alchemy.currentDialog()) {
         Alchemy.currentDialog().attachTreeEvents();
       }
     }
     <% end %>
   });
 });
</script>

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
alchemy_cms-3.5.0 app/views/alchemy/admin/pages/_sitemap.html.erb
alchemy_cms-3.4.2 app/views/alchemy/admin/pages/_sitemap.html.erb
alchemy_cms-3.5.0.rc2 app/views/alchemy/admin/pages/_sitemap.html.erb
alchemy_cms-3.5.0.rc1 app/views/alchemy/admin/pages/_sitemap.html.erb
alchemy_cms-3.4.1 app/views/alchemy/admin/pages/_sitemap.html.erb
alchemy_cms-3.3.3 app/views/alchemy/admin/pages/_sitemap.html.erb
alchemy_cms-3.3.2 app/views/alchemy/admin/pages/_sitemap.html.erb
alchemy_cms-3.4.0 app/views/alchemy/admin/pages/_sitemap.html.erb
alchemy_cms-3.4.0.rc1 app/views/alchemy/admin/pages/_sitemap.html.erb
alchemy_cms-3.3.1 app/views/alchemy/admin/pages/_sitemap.html.erb
alchemy_cms-3.3.0 app/views/alchemy/admin/pages/_sitemap.html.erb
alchemy_cms-3.3.0.rc2 app/views/alchemy/admin/pages/_sitemap.html.erb
alchemy_cms-3.3.0.rc1 app/views/alchemy/admin/pages/_sitemap.html.erb