Skip to content

Commit

Permalink
(surveys): add link in header for superuser
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentporte committed Dec 19, 2023
1 parent 2fa0597 commit 6fa659c
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
{% url 'forum_extension:documentation' as documentation_url %}
{% url 'event:current' as calendar_url %}
{% url 'forum_search_extension:search' as search_url %}
{% url 'surveys:dsp_create' as dsp_url %}

<ul>
<li class="col-12 col-lg-auto">
Expand Down Expand Up @@ -45,4 +46,11 @@
{% trans "Events" %}
</a>
</li>
{% if request.user.is_superuser %}
<li>
<a href="{{ dsp_url }}">
Diagnostic socio-professionnel
</a>
</li>
{% endif %}
</ul>

0 comments on commit 6fa659c

Please sign in to comment.