show new search for superuser only for now
This commit is contained in:
parent
c4b7a760c6
commit
bee21c6d14
2 changed files with 2 additions and 2 deletions
|
@ -62,7 +62,7 @@
|
|||
{% trans "performances" %}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% if user.is_authenticated %}
|
||||
{% if user.is_authenticated and request.user.is_superuser %}
|
||||
|
|
||||
{% if request.GET.c != 'journal' %}
|
||||
<a href="?q={{ request.GET.q }}&c=journal">{% trans "your journal" %}</a>
|
||||
|
|
|
@ -44,7 +44,7 @@
|
|||
<option {% if request.GET.c == 'performance' or '/performance/' in request.path %}selected{% endif %}
|
||||
value="performance">{% trans 'Performance' %}</option>
|
||||
{% endif %}
|
||||
{% if request.user.is_authenticated %}
|
||||
{% if request.user.is_authenticated and request.user.is_superuser %}
|
||||
<option {% if request.GET.c == 'journal' or '/users/' in request.path %}selected{% endif %}
|
||||
value="journal">{% trans 'Journal' %}</option>
|
||||
<option {% if request.GET.c == 'timeline' or '/timeline/' in request.path %}selected{% endif %}
|
||||
|
|
Loading…
Add table
Reference in a new issue