Skip to content

Commit

Permalink
Merge pull request #165 from restarone/addNestedDropdownToSidenav
Browse files Browse the repository at this point in the history
add nested sidebav
  • Loading branch information
donrestarone authored May 30, 2021
2 parents c75860d + ce515b3 commit a8faccb
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions app/views/comfy/admin/cms/partials/_navigation_inner.haml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,12 @@
= active_link_to "Web Settings", edit_web_settings_path, class: 'nav-link'
= active_link_to "Call to Actions", call_to_actions_path, class: 'nav-link'
= active_link_to "Visitor Analytics", dashboard_path, class: 'nav-link'
= link_to "Blog", '/blog', class: 'nav-link', target: '_blank'
= link_to "Forum", '/forum', class: 'nav-link', target: '_blank'
= active_link_to "My Settings", edit_user_registration_path, class: 'nav-link'
%li.nav-item.dropdown
%a#navbarDropdown.nav-link.dropdown-toggle{"aria-expanded" => "false", "aria-haspopup" => "true", "data-toggle" => "dropdown", :href => "#", :role => "button"}
= "#{Subdomain.current.name.capitalize} Shortcuts"
.dropdown-menu{"aria-labelledby" => "navbarDropdown"}
= link_to "Website", '/', class: 'dropdown-item', target: '_blank'
= link_to "Blog", '/blog', class: 'dropdown-item', target: '_blank'
= link_to "Forum", '/forum', class: 'dropdown-item', target: '_blank'
= link_to "Logout", destroy_user_session_path, class: 'nav-link text-danger', method: :delete

0 comments on commit a8faccb

Please sign in to comment.