From c34964f3981bc782b6ec364e933c54aa23bbbd9b Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Thu, 24 Jun 2021 12:38:07 +0200 Subject: [PATCH] fix message button from script --- teleforma/exam/templates/exam/script_detail.html | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) 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" %} -- 2.39.5