Retrospring/app/views/static/_mobile_nav.html.haml

15 lines
634 B
Plaintext
Raw Normal View History

2015-01-30 13:53:44 -08:00
%nav.navbar.navbar-default.navbar-static-top.j2-navbar.visible-xs{role: "navigation"}
.container
.navbar-header
%button.navbar-toggle{"data-target" => "#j2-tl-navbar-collapse", "data-toggle" => "collapse", type: "button"}
%span.sr-only Toggle navigation
2015-01-30 13:52:05 -08:00
%span.icon-bar
%span.icon-bar
%span.icon-bar
2015-01-30 13:48:38 -08:00
%a.navbar-brand{href: "/"} Timelines
#j2-tl-navbar-collapse.collapse.navbar-collapse
%ul.nav.navbar-nav
= nav_entry "Public", public_timeline_path
- current_user.groups.each do |group|
= nav_entry group.display_name, group_timeline_path(group.name)