blob: d6a8422ebdfc75eed1a2eaf99ab77cdff27dacf6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
.navbar.navbar-inverse.navbar-fixed-top
.navbar-inner
.container
%a.brand{:href => (current_user.nil? ? '/' : tenant_path(current_user.current_tenant))}
Gemeinschaft 5
%a.btn.btn-navbar{"data-target" => ".nav-collapse", "data-toggle" => "collapse"}
%span.icon-bar
%span.icon-bar
%span.icon-bar
- if current_user
.nav-collapse.collapse
%ul.nav
%li
%a{:href => "#about"} About
%li.pull_right
%a{:href => "#contact"} Contact
- if current_user
%ul.nav.pull-right
- if current_page?(tenant_user_path(current_user.current_tenant, current_user))
%li.active
%a.navbar-link{:href => tenant_user_path(current_user.current_tenant, current_user)}
= current_user
- else
%li
%a.navbar-link{:href => tenant_user_path(current_user.current_tenant, current_user)}
= current_user
%li
%a.navbar-link{:href => log_out_path}
%i.icon-off.icon-white
|