Sha256: 017a2ce2bb16638196ccc7fae8237ca5f7d24d94b9e3bb54d849b187d8d7e0e3
Contents?: true
Size: 1.11 KB
Versions: 19
Compression:
Stored size: 1.11 KB
Contents
%script{ :'data-template' => 'sidebar', :type => 'text/js-template' } %nav#sitemap.sitemap .header %h3= link_to('Locus of Control', '#/') .body.tree <% collection.each(function(locus) { %> %ul %li.item.section .label{ :'data-depth' => 1 } %a.section{ :href => '#' } %span <%= locus.escape('label') %> %ul %li.item.entries .label{ :'data-depth' => 2 } :plain <a href="<%= locus.entries_path() %>" class="entries"> <em class="count"><%= locus.escape('count') %></em> <span>Entries</span> </a> <% locus.buckets.each(function(bucket) { %> %li.item.bucket .label{ :'data-depth' => 2 } :plain <a href="<%= bucket.entries_path() %>" class="bucket"> <em class="count"><%= bucket.escape('count') %></em> <span><%= bucket.escape('label') %></span> </a> <% }); %> <% }); %>
Version data entries
19 entries across 14 versions & 1 rubygems