]> git.parisson.com Git - teleforma.git/commitdiff
mv webclass menu
authorGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Wed, 27 Apr 2022 15:35:29 +0000 (17:35 +0200)
committerGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Wed, 27 Apr 2022 15:35:45 +0000 (17:35 +0200)
teleforma/templates/teleforma/base.html

index 295aa32cca8310a52160178fe593a4c2755469ce..80dd0aae6da2f9c5270c40b23a4b3f08fad8ee85 100644 (file)
           {% if not user.student or not user.student.get.restricted %}
           <li><a href="{% url 'teleforma-annals' %}" class="yellow">{% trans "Annals" %}</a></li>
 
+          {% if user.professor.count or user.is_superuser %}
+          <li><a href="{% url 'teleforma-webclass-professor' %}" class="yellow">Webclass</a></li>
+          {% endif %}
+
           {% if periods|length == 1 %}
           <li><a href="{% url 'teleforma-exam-scripts-pending' periods.0.id %}"
               class="green">&nbsp;{% trans "Scripts" %}
           </li>
           {% endif %}
 
-          {% if user.professor.count or user.is_superuser %}
-          <li><a href="{% url 'teleforma-webclass-professor' %}" class="yellow">Webclass</a></li>
-          {% endif %}
-
-
-
           {% if periods|length == 1 %}
           <li><a href="{% url 'teleforma-exam-scripts-scores-all' periods.0.id %}"
               class="green">&nbsp;{% trans "Scores" %}</a></li>