]> git.parisson.com Git - teleforma.git/commitdiff
add link
authorGuillaume Pellerin <yomguy@parisson.com>
Wed, 30 Jul 2014 15:22:48 +0000 (17:22 +0200)
committerGuillaume Pellerin <yomguy@parisson.com>
Wed, 30 Jul 2014 15:22:48 +0000 (17:22 +0200)
teleforma/exam/templates/exam/scripts.html

index b80105cff2a90033ef360330ce5423a0040ba75e..18b6e6e1db83ceecc7bfabc36ce39466129ab1db 100644 (file)
@@ -25,6 +25,9 @@
    <li><a href="{% url teleforma-exam-scripts-pending period.id %}">{% trans "Pending" %}{% if user.is_staff or user.quotass.all %}{% untreated_scripts_count user period %}{% endif %}</a></li>
    <li><a href="{% url teleforma-exam-scripts-treated period.id %}">{% trans "Marked" %}{% if not user.is_staff and not user.quotas.all %}{% treated_scripts_count user period %}{% endif %}</a></li>
    <li><a href="{% url teleforma-exam-scripts-rejected period.id %}">{% trans "Rejected" %}</a></li>
+   {% if user.is_staff or user.is_superuser %}
+    <li><a href="{% url teleforma-exam-quotas period.id %}">{% trans "Quotas" %}</a></li>
+   {% endif %}
   {% endblock courses %}
   </ul>
  </div>