From: Guillaume Pellerin Date: Thu, 24 Jun 2021 10:38:07 +0000 (+0200) Subject: fix message button from script X-Git-Tag: 2.1~43^2 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=c34964f3981bc782b6ec364e933c54aa23bbbd9b;p=teleforma.git fix message button from script --- diff --git a/teleforma/exam/templates/exam/script_detail.html b/teleforma/exam/templates/exam/script_detail.html index 9ed42ac7..fbc2fd75 100644 --- a/teleforma/exam/templates/exam/script_detail.html +++ b/teleforma/exam/templates/exam/script_detail.html @@ -50,16 +50,18 @@ {{ script.title }}
- {% trans "Send a message" %} + {% if user.quotas.all %} + {% trans "Send a message" %} + {% endif %} {% if topic.file %} -  {% trans "Topic" %} +  {% trans "Topic" %} {% endif %} {% if script.score %} - {% trans "Score" %} : {{ script.score|floatformat }}/20 - {% trans "Comments" %} -{# {% trans "Imprimer" %}#} + {% trans "Score" %} : {{ script.score|floatformat }}/20 + {% trans "Comments" %} +{# {% trans "Imprimer" %}#} {% elif script.status == 0 %} - {% trans "Rejected" %} + {% trans "Rejected" %} {% else %} {% if user.quotas.all %} {% trans "Scoring" %}