Sha256: 8438ef99b844c19563669d75105854fc64c89f6c117754fec9b7ea2d98725c44

Contents?: true

Size: 919 Bytes

Versions: 32

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

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
alchemy_cms-4.0.6 app/views/alchemy/admin/pages/_sitemap.html.erb
alchemy_cms-3.6.7 app/views/alchemy/admin/pages/_sitemap.html.erb
alchemy_cms-3.6.6 app/views/alchemy/admin/pages/_sitemap.html.erb
alchemy_cms-4.3.2 app/views/alchemy/admin/pages/_sitemap.html.erb
alchemy_cms-4.2.4 app/views/alchemy/admin/pages/_sitemap.html.erb
alchemy_cms-4.3.1 app/views/alchemy/admin/pages/_sitemap.html.erb
alchemy_cms-4.2.3 app/views/alchemy/admin/pages/_sitemap.html.erb
alchemy_cms-4.3.0 app/views/alchemy/admin/pages/_sitemap.html.erb
alchemy_cms-4.2.2 app/views/alchemy/admin/pages/_sitemap.html.erb
alchemy_cms-4.1.2 app/views/alchemy/admin/pages/_sitemap.html.erb
alchemy_cms-4.1.1 app/views/alchemy/admin/pages/_sitemap.html.erb
alchemy_cms-4.2.1 app/views/alchemy/admin/pages/_sitemap.html.erb
alchemy_cms-4.2.0 app/views/alchemy/admin/pages/_sitemap.html.erb
alchemy_cms-4.2.0.rc1 app/views/alchemy/admin/pages/_sitemap.html.erb
alchemy_cms-4.1.0 app/views/alchemy/admin/pages/_sitemap.html.erb
alchemy_cms-4.0.5 app/views/alchemy/admin/pages/_sitemap.html.erb
alchemy_cms-4.0.4 app/views/alchemy/admin/pages/_sitemap.html.erb
alchemy_cms-4.1.0.rc1 app/views/alchemy/admin/pages/_sitemap.html.erb
alchemy_cms-4.0.3 app/views/alchemy/admin/pages/_sitemap.html.erb
alchemy_cms-3.6.5 app/views/alchemy/admin/pages/_sitemap.html.erb