Sha256: 291eff03951b748f0d2680f9f06d2ea7aef70490265f1f227f49552328d77cc8

Contents?: true

Size: 742 Bytes

Versions: 18

Compression:

Stored size: 742 Bytes

Contents

- title "Spaces Listing"
.col-md-9
  %h3 Spaces Listing

  = link_to "New Space", new_wiki_space_path, class: "btn btn-primary"

  %ul.nav.nav-list
    - @roots.each do |node|
      %li
        = link_to node.title, wiki_page_path(node), class: "space-link"

        %ul.list-unstyled.nav-list-sub
          - node.children.each do |child|
            %li
              = link_to wiki_page_path(child) do
                = child.title
                - if child.has_children?
                  %i.fa.fa-arrow-circle-right

.col-md-3
  %h3 Starred Pages
  %ul.list-unstyled
    - Starred.where(user: current_user, starrable_type: 'Page').each do |starred|
      %li
        = link_to starred.starrable.title, wiki_page_path(starred.starrable)

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
tawork-0.0.50 app/views/wiki/pages/index.html.haml
tawork-0.0.49 app/views/wiki/pages/index.html.haml
tawork-0.0.48 app/views/wiki/pages/index.html.haml
tawork-0.0.47 app/views/wiki/pages/index.html.haml
tawork-0.0.46 app/views/wiki/pages/index.html.haml
tawork-0.0.45 app/views/wiki/pages/index.html.haml
tawork-0.0.44 app/views/wiki/pages/index.html.haml
tawork-0.0.43 app/views/wiki/pages/index.html.haml
tawork-0.0.42 app/views/wiki/pages/index.html.haml
tawork-0.0.41 app/views/wiki/pages/index.html.haml
tawork-0.0.40 app/views/wiki/pages/index.html.haml
tawork-0.0.39 app/views/wiki/pages/index.html.haml
tawork-0.0.38 app/views/wiki/pages/index.html.haml
tawork-0.0.37 app/views/wiki/pages/index.html.haml
tawork-0.0.36 app/views/wiki/pages/index.html.haml
tawork-0.0.35 app/views/wiki/pages/index.html.haml
tawork-0.0.34 app/views/wiki/pages/index.html.haml
tawork-0.0.33 app/views/wiki/pages/index.html.haml