Skip to content
Snippets Groups Projects
Commit 4d9f9871 authored by Arnaud Levy's avatar Arnaud Levy
Browse files

nav

parent 3078a736
No related branches found
No related tags found
No related merge requests found
......@@ -7,7 +7,7 @@
<%= t('extranet.menu') %> <span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="menu">
<%= render_navigation %>
<%= render_navigation context: :extranet %>
</div>
</div>
</nav>
......@@ -16,11 +16,15 @@ SimpleNavigation::Configuration.run do |navigation|
primary.item :organizations,
University::Organization.model_name.human(count: 2),
university_organizations_path
primary.item :personal_data,
t('extranet.personal_data.title'),
personal_data_path
primary.item :account,
t('extranet.account.my'),
account_path
current_user.to_s,
nil do |secondary|
secondary.item :account,
t('extranet.account.my'),
account_path
secondary.item :personal_data,
t('extranet.personal_data.title'),
personal_data_path
end
end
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment