Skip to content

Commit

Permalink
Fix pseudonymization not showing up for TAs
Browse files Browse the repository at this point in the history
  • Loading branch information
mikaelGusse authored and murhum1 committed Aug 27, 2024
1 parent 2f8570b commit a9c8a92
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions course/templates/course/_course_menu.html
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,18 @@ <h4>{% translate "COURSE_STAFF" %}</h4>
</a>
</li>

<li class="menu-pseudonymize">
<a href="{% url 'toggle-pseudonymization' %}">
{% if pseudonymize %}
<span class="glyphicon glyphicon-eye-open" aria-hidden="true"></span>
{% translate "UNPSEUDONYMIZE" %}
{% else %}
<span class="glyphicon glyphicon-eye-close" aria-hidden="true"></span>
{% translate "PSEUDONYMIZE" %}
{% endif %}
</a>
</li>

{% if is_teacher %}
<li class="menu-edit-news">
<a href="{{ instance|url:'news-list' }}">
Expand All @@ -204,18 +216,6 @@ <h4>{% translate "COURSE_STAFF" %}</h4>
</a>
</li>

<li class="menu-pseudonymize">
<a href="{% url 'toggle-pseudonymization' %}">
{% if pseudonymize %}
<span class="glyphicon glyphicon-eye-open" aria-hidden="true"></span>
{% translate "UNPSEUDONYMIZE" %}
{% else %}
<span class="glyphicon glyphicon-eye-close" aria-hidden="true"></span>
{% translate "PSEUDONYMIZE" %}
{% endif %}
</a>
</li>

{% endif %}

{% for group in course_menu.staff_link_groups %}
Expand Down

0 comments on commit a9c8a92

Please sign in to comment.