Move feed navigation to new location
This commit is contained in:
parent
e56e65cf40
commit
2fb1966c5b
|
@ -1,4 +1,4 @@
|
|||
= render 'static/mobile_nav'
|
||||
= render 'navigation/feed'
|
||||
.container.j2-page
|
||||
.row
|
||||
.col-md-3.col-sm-4
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
%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)
|
|
@ -1,11 +0,0 @@
|
|||
%nav.navbar.navbar-light.navbar-static-top.j2-navbar.d-flex.d-sm-none.bg-default{role: "navigation"}
|
||||
.container
|
||||
%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)
|
Loading…
Reference in New Issue