]> git.parisson.com Git - teleforma.git/commitdiff
https://trackers.pilotsystems.net/prebarreau/0251 : edit note / comment
authorYoan Le Clanche <yoanl@pilotsystems.net>
Wed, 8 Sep 2021 08:59:51 +0000 (10:59 +0200)
committerYoan Le Clanche <yoanl@pilotsystems.net>
Wed, 8 Sep 2021 08:59:51 +0000 (10:59 +0200)
teleforma/exam/templates/exam/script_detail.html

index fbc2fd7536412aeb9c22ee2ba70edcacaf9af5f1..f7d5dadb0d8b4f8802cb09fc20af903cd373fc03 100644 (file)
@@ -60,6 +60,9 @@
             <a id="score" href="#" class="component_icon button icon_ok"> {% trans "Score" %} : {{ script.score|floatformat }}/20</a>
             <a id="opener_comments" href="#" class="component_icon button icon_ok"> {% trans "Comments" %}</a>
 {#          <a id="opener_print" href="#" class="component_icon button icon_download"> {% trans "Imprimer" %}</a>#}
+            {% if user.quotas.all %}
+              <a id="opener_mark" href="#" class="component_icon button icon_edit"> Modifier la note</a>
+            {% endif %}
         {% elif script.status == 0 %}
             <a href="#" class="component_icon button icon_delete">{% trans "Rejected" %}</a>
         {% else %}