diff --git a/app/views/layouts/_navigation.html.erb b/app/views/layouts/_navigation.html.erb index 6f91d01..3438aae 100644 --- a/app/views/layouts/_navigation.html.erb +++ b/app/views/layouts/_navigation.html.erb @@ -41,18 +41,18 @@ <% else %> -
  • > +
  • > <%= link_to _('Home'), root_path %>
  • -
  • > +
  • > <%= link_to _('Public DMPs'), public_plans_path %>
  • -
  • > +
  • > <%= link_to _('DMP Templates'), public_templates_path %>
  • <% end %> -
  • > +
  • > <%= link_to _('Help'), help_path %>
  • @@ -60,7 +60,7 @@ <%= render "layouts/signin_signout" %> - <% unless isActivePage(root_path) %> + <% unless isActivePage(root_path, true) %> <%= render partial: 'shared/access_controls', layout: 'shared/modal', locals: { id: "header-signin", title: _('Sign in')} %> <% end %> diff --git a/app/views/layouts/_signin_signout.html.erb b/app/views/layouts/_signin_signout.html.erb index a8b148e..6bacdc2 100644 --- a/app/views/layouts/_signin_signout.html.erb +++ b/app/views/layouts/_signin_signout.html.erb @@ -34,7 +34,7 @@ <% else %> - <% if !isActivePage(root_path) %> + <% if !isActivePage(root_path, true) %>