Sha256: 06cd52b74794246d7d54d7b952cd120b677785eaa1b5f98ca9c7f0fdff6de00f

Contents?: true

Size: 1.14 KB

Versions: 2

Compression:

Stored size: 1.14 KB

Contents

- head = login? ? current_ma_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", "data-id" => "menu_mm"}
      %ul{"data-role" => "listview", "data-theme" => "g"}
        %li
          %a{"data-panel" => "main", "data-id" => "home", :href => "/mindapp"} Home
        = render :partial => "mindapp/menu_mm"
        - if login?
          %li
            %a{:href=>"/mindapp/pending", "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-panel" => "main"} Sign In
          %li
            %a{:href=>new_identity_path, "data-panel" => "main"} Sign Up
        %li
          = link_to "Refresh", "#", :onclick=>"window.location.replace('/')"
        - if !login?    
          = link_to image_tag( 'facebook-sign-in-button.png'), 'auth/facebook', rel: "external"  

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
mindapp2-0.1.1.5 lib/generators/mindapp/templates/app/views/mindapp/_menu.haml
mindapp2-0.1.1.4 lib/generators/mindapp/templates/app/views/mindapp/_menu.haml