Sha256: aa74d28346ee74ad415cbf89568b01131f7b28446ce4dc7d10f017cecddd637a

Contents?: true

Size: 1.03 KB

Versions: 7

Compression:

Stored size: 1.03 KB

Contents

- head = login? ? current_user.code : DEFAULT_HEADER
%div{"data-context" => "a#default", "data-hash" => "crumbs", "data-id" => "menu", "data-role" => "panel"}
  #main{"data-role" => "page"}
    %div{"data-role" => "header", "data-theme" => "b", "data-backbtn"=>"false"}
      %h1= head
    %div{"data-role" => "content"}
      %ul{"data-role" => "listview", "data-theme" => "g"}
        %li
          %a{"data-panel" => "main", :href => "/mindapp"} Home
        = render "/mindapp/menu_mm"
        - if login?
          %li
            %a{:href=>"/mindapp/pending", "data-rel"=>"dialog", "data-panel" => "main"} Pending Tasks
          %li
            %a{"data-panel" => "main", :href => logout_path, "data-ajax"=>"false"} Sign Out
        - else
          %li
            %a{:href=>new_session_path, "data-rel"=>"dialog", "data-panel" => "main"} Sign In
          %li
            %a{:href=>new_identity_path, "data-rel"=>"dialog", "data-panel" => "main"} Sign Up
        %li
          = link_to "Refresh", "#", :onclick=>"window.location.replace('/')"

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
mindapp-0.0.8 lib/generators/mindapp/templates/app/views/mindapp/_menu.haml
mindapp-0.0.7 lib/generators/mindapp/templates/app/views/mindapp/_menu.haml
mindapp-0.0.6 lib/generators/mindapp/templates/app/views/mindapp/_menu.haml
mindapp-0.0.5 lib/generators/mindapp/templates/app/views/mindapp/_menu.haml
mindapp-0.0.4 lib/generators/mindapp/templates/app/views/mindapp/_menu.haml
mindapp-0.0.3 lib/generators/mindapp/templates/app/views/mindapp/_menu.haml
mindapp-0.0.2 lib/generators/mindapp/templates/app/views/mindapp/_menu.haml