Sha256: 8e34b61b01cad3643397e5aa0b6a22957113342fc4a299d721255b818f9e4164

Contents?: true

Size: 1.14 KB

Versions: 5

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 => "/jinda"} Home
        = render :partial => "jinda/menu_mm"
        - if login?
          %li
            %a{:href=>"/jinda/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

5 entries across 5 versions & 1 rubygems

Version Path
jinda-0.1.0 lib/generators/jinda/templates/app/views/jinda/_menu.haml
jinda-0.0.9 lib/generators/jinda/templates/app/views/jinda/_menu.haml
jinda-0.0.8 lib/generators/jinda/templates/app/views/jinda/_menu.haml
jinda-0.0.7 lib/generators/jinda/templates/app/views/jinda/_menu.haml
jinda-0.0.1 lib/generators/jinda/templates/app/views/jinda/_menu.haml