Skip to content

Commit

Permalink
Move menu item for vetting hint
Browse files Browse the repository at this point in the history
  • Loading branch information
MKodde committed Jul 28, 2022
1 parent 12f4656 commit 3d0e187
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions templates/base.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -78,13 +78,14 @@
{% endif %}

{% if is_granted('ROLE_RAA') or is_granted('ROLE_SRAA') %}
<li role="presentation"{% if app.request.attributes.get('_route') starts with 'institution-configuration' %} class="active"{% endif %}>
<a href="{{ path('institution-configuration') }}">{{ 'ra.menu.institution-configuration'|trans }}</a>
<li role="presentation"{% if app.request.attributes.get('_route') starts with 'vetting_type_hint' %} class="active"{% endif %}>
<a href="{{ path('vetting_type_hint') }}">{{ 'ra.menu.vetting-type-hint'|trans }}</a>
</li>
{% endif %}

{% if is_granted('ROLE_RAA') or is_granted('ROLE_SRAA') %}
<li role="presentation"{% if app.request.attributes.get('_route') starts with 'vetting_type_hint' %} class="active"{% endif %}>
<a href="{{ path('vetting_type_hint') }}">{{ 'ra.menu.vetting-type-hint'|trans }}</a>
<li role="presentation"{% if app.request.attributes.get('_route') starts with 'institution-configuration' %} class="active"{% endif %}>
<a href="{{ path('institution-configuration') }}">{{ 'ra.menu.institution-configuration'|trans }}</a>
</li>
{% endif %}

Expand Down

0 comments on commit 3d0e187

Please sign in to comment.