summaryrefslogtreecommitdiff
path: root/app/views/layouts/_navbar.html.haml
blob: 4005e282edced58b53a299892059470aac72d501 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
.navbar.navbar-inverse.navbar-fixed-top
  .navbar-inner
    .container-fluid
      %a.btn.btn-navbar{"data-target" => ".nav-collapse", "data-toggle" => "collapse"}
        %span.icon-bar
        %span.icon-bar
        %span.icon-bar
      %a.brand{:href => (current_user.nil? ? '/' : tenant_path(current_user.current_tenant))} Gemeinschaft 5
      .nav-collapse.collapse
        %p.navbar-text.pull-right
          - if current_user
            %a.navbar-link{:href => tenant_user_path(current_user.current_tenant, current_user)} 
              = current_user
        %ul.nav
          %li.active
            %a{:href => "#"} Home
          %li
            %a{:href => "#about"} About
          %li
            %a{:href => "#contact"} Contact
      / /.nav-collapse