Sha256: 097f596268cc7008ea79a62859cf1f8eaecdb85eba2eed423772c8e9aed123ae

Contents?: true

Size: 529 Bytes

Versions: 5

Compression:

Stored size: 529 Bytes

Contents

%ul{ :class => options['class'], :id => options['id'] }
  - if options['include_root']
    %li{:class => page_menu_class(root_page)}
      - if root_page.no_link || (root_page == options['current'] && !options['link_current'])
        %span= replace_title_for(root_page)
      - else
        = link_to_page(root_page)
        
  - if grouped_pages[root_page.id]
    - grouped_pages[root_page.id].each do |page|
      = render 'pages/nav_item', :options => options, :page => page, :grouped_pages => grouped_pages, :level => level

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
page_engine-0.0.5 app/views/pages/_navigation.html.haml
page_engine-0.0.4 app/views/pages/_navigation.html.haml
page_engine-0.0.3 app/views/pages/_navigation.html.haml
page_engine-0.0.2 app/views/pages/_navigation.html.haml
page_engine-0.0.1 app/views/pages/_navigation.html.haml