Sha256: 50c637d914e5ce6367e933bccef22cb537eb6fbf4678d129ba63db69b9848516

Contents?: true

Size: 1.34 KB

Versions: 44

Compression:

Stored size: 1.34 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?    
          .login-box
            = link_to image_tag( 'facebook-continue-button.png'), '/auth/facebook', rel: "external", class: "facebook-connect.social-button" 
            = link_to image_tag( 'google-continue-button.png'), '/auth/google_oauth2', rel: "external", class: "google-connect.social-button"

Version data entries

44 entries across 44 versions & 2 rubygems

Version Path
jinda-0.5.8 lib/generators/jinda/templates/app/views/jinda/_menu.haml
jinda-0.5.7 lib/generators/jinda/templates/app/views/jinda/_menu.haml
jinda-0.5.6 lib/generators/jinda/templates/app/views/jinda/_menu.haml
jinda-0.5.5 lib/generators/jinda/templates/app/views/jinda/_menu.haml
jinda-0.5.4 lib/generators/jinda/templates/app/views/jinda/_menu.haml
jinda-0.5.3 lib/generators/jinda/templates/app/views/jinda/_menu.haml
jinda-0.5.2 lib/generators/jinda/templates/app/views/jinda/_menu.haml
jinda-0.5.1 lib/generators/jinda/templates/app/views/jinda/_menu.haml
jinda-0.5.0 lib/generators/jinda/templates/app/views/jinda/_menu.haml
jinda-0.4.9 lib/generators/jinda/templates/app/views/jinda/_menu.haml
jinda-0.4.8 lib/generators/jinda/templates/app/views/jinda/_menu.haml
jinda-0.4.7 lib/generators/jinda/templates/app/views/jinda/_menu.haml
jinda-0.4.6 lib/generators/jinda/templates/app/views/jinda/_menu.haml
jinda-5-0.4.5 lib/generators/jinda/templates/app/views/jinda/_menu.haml
jinda-0.4.5 lib/generators/jinda/templates/app/views/jinda/_menu.haml
jinda-0.4.4 lib/generators/jinda/templates/app/views/jinda/_menu.haml
jinda-0.4.3 lib/generators/jinda/templates/app/views/jinda/_menu.haml
jinda-0.4.2 lib/generators/jinda/templates/app/views/jinda/_menu.haml
jinda-0.4.1 lib/generators/jinda/templates/app/views/jinda/_menu.haml
jinda-0.4.0 lib/generators/jinda/templates/app/views/jinda/_menu.haml