mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-01-19 12:16:04 +01:00
10 lines
No EOL
554 B
Text
10 lines
No EOL
554 B
Text
%nav.navbar.navbar-light.navbar-static-top.j2-navbar.d-flex.d-sm-none.bg-white{role: "navigation"}
|
|
%a.navbar-brand{href: "/"} Timelines
|
|
%button.navbar-toggler{"data-target" => "#j2-tl-navbar-collapse", "data-toggle" => "collapse", type: "button"}
|
|
%span.sr-only Toggle navigation
|
|
%span.navbar-toggler-icon
|
|
#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) |