Sha256: 467026542eba2806d007871cf130e7ded33f33406e789bec70ba8a4a34e5fe43

Contents?: true

Size: 951 Bytes

Versions: 13

Compression:

Stored size: 951 Bytes

Contents

.navbar.navbar-inverse.navbar-static-top.main-navbar
  .container
    .navbar-header
      %button.navbar-toggle{"data-target" => "#bs-example-navbar-collapse-1", "data-toggle" => "collapse", type: "button"}
        %span.sr-only Toggle navigation
        %span.icon-bar
        %span.icon-bar
        %span.icon-bar

      = link_to "tawork", root_path, class: "navbar-brand"

    .collapse.navbar-collapse
      %ul.nav.navbar-nav
        -# %li
        -#   = link_to "wiki", wiki_path
      %ul.nav.navbar-nav.navbar-right
        - if user_signed_in?
          %li
            %a #{current_user.display_name}
          - if TAWORK_CONFIG["show_login"].nil? || TAWORK_CONFIG["show_login"]
            %li
              = link_to "Logout", destroy_user_session_path, method: :delete
        - else
          - if TAWORK_CONFIG["show_login"].nil? || TAWORK_CONFIG["show_login"]
            %li
              = link_to "Login", new_user_session_path

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
tawork-0.0.13 app/views/layouts/_nav_header.html.haml
tawork-0.0.12 app/views/layouts/_nav_header.html.haml
tawork-0.0.11 app/views/layouts/_nav_header.html.haml
tawork-0.0.10 app/views/layouts/_nav_header.html.haml
tawork-0.0.9 app/views/layouts/_nav_header.html.haml
tawork-0.0.8 app/views/layouts/_nav_header.html.haml
tawork-0.0.7 app/views/layouts/_nav_header.html.haml
tawork-0.0.6 app/views/layouts/_nav_header.html.haml
tawork-0.0.5 app/views/layouts/_nav_header.html.haml
tawork-0.0.4 app/views/layouts/_nav_header.html.haml
tawork-0.0.3 app/views/layouts/_nav_header.html.haml
tawork-0.0.2 app/views/layouts/_nav_header.html.haml
tawork-0.0.1 app/views/layouts/_nav_header.html.haml