Sha256: e65d76c206cb17c46c2af69e86bfb406af5c28c6f3f6acd7f3364bad04b97f30

Contents?: true

Size: 956 Bytes

Versions: 6

Compression:

Stored size: 956 Bytes

Contents

.navbar.navbar-inverse.navbar-fixed-top.main-navbar
  .container-fluid
    .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

6 entries across 6 versions & 1 rubygems

Version Path
tawork-0.0.19 app/views/layouts/_nav_header.html.haml
tawork-0.0.18 app/views/layouts/_nav_header.html.haml
tawork-0.0.17 app/views/layouts/_nav_header.html.haml
tawork-0.0.16 app/views/layouts/_nav_header.html.haml
tawork-0.0.15 app/views/layouts/_nav_header.html.haml
tawork-0.0.14 app/views/layouts/_nav_header.html.haml