Sha256: 0e9af6754b251726bb53a4a23998b700494e09d1b4cdc88e71e0c5905bc260d0

Contents?: true

Size: 600 Bytes

Versions: 17

Compression:

Stored size: 600 Bytes

Contents

= render :partial => "show"

- if @sitemap && (@sitemap.parent != Sitemap.main_menu)
  = nav_content do
    .sidebar.parent_page= link_to @sitemap.parent.menu_text, @sitemap.parent.url
- if @sitemap && !@sitemap.children.empty?
  = nav_content do
    .child_pages
      - @child_pages.each do |child|
        .sidebar= link_to child.menu_text, child.url

- unless @page.attachments.empty?
  = nav_content do
    %ul#attachments_list
      %li.sidebar_title Files
      - @page.attachments.each do |attachment|
        = render :partial => "attachments/show", :locals=>{:a=>(@attachment=attachment)}

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
wheels-0.1.30 app/views/pages/show.html.haml
wheels-0.1.28 app/views/pages/show.html.haml
wheels-0.1.27 app/views/pages/show.html.haml
wheels-0.1.25 app/views/pages/show.html.haml
wheels-0.1.24 app/views/pages/show.html.haml
wheels-0.1.23 app/views/pages/show.html.haml
wheels-0.1.22 app/views/pages/show.html.haml
wheels-0.1.21 app/views/pages/show.html.haml
wheels-0.1.20 app/views/pages/show.html.haml
wheels-0.1.19 app/views/pages/show.html.haml
wheels-0.1.18 app/views/pages/show.html.haml
wheels-0.1.17 app/views/pages/show.html.haml
wheels-0.1.16 app/views/pages/show.html.haml
wheels-0.1.15 app/views/pages/show.html.haml
wheels-0.1.14 app/views/pages/show.html.haml
wheels-0.1.13 app/views/pages/show.html.haml
wheels-0.1.12 app/views/pages/show.html.haml