Sha256: 8c8900e88f74c0667f81065c586745d27bfd919253111e1087107f79bd88ebe8
Contents?: true
Size: 764 Bytes
Versions: 25
Compression:
Stored size: 764 Bytes
Contents
- cache ["tree_node", page] do %li.page.tree-node{id: "page_#{page.id}", class: "tree-node-#{page.type.underscore}", data: {page_id: page.id}} .panel.panel-default .panel-body{style: "position: relative;"} .node-handle.panel-group{class: "node-#{page.type.underscore}"} %span.node-toggle %i.fa -# = page.type .node-title = link_to page.title, wiki_page_path(page) - if @subtree.present? && @subtree[page.id].try(:any?) %ol - @subtree[page.id].sort_by(&:position).each do |child| = render 'tree_node', page: child :javascript $(function() { var page_view = new Tawork.Views.TreeNodePageView({el: $("#page_#{page.id}").get(0)}); });
Version data entries
25 entries across 25 versions & 1 rubygems