From cee9a840fa672bcf6b4b6629acbaf44ba338b455 Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Fri, 1 Jul 2016 17:59:11 +0200 Subject: [PATCH] help to print --- teleforma/exam/static/exam/js/exam.js | 7 +++---- teleforma/exam/templates/exam/script_detail.html | 3 ++- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/teleforma/exam/static/exam/js/exam.js b/teleforma/exam/static/exam/js/exam.js index ecf0e0fb..f15af1b7 100644 --- a/teleforma/exam/static/exam/js/exam.js +++ b/teleforma/exam/static/exam/js/exam.js @@ -22,7 +22,7 @@ $(document).ready(function(){ modal: true, }); - $( "#dialog_help" ).dialog({ + $( "#dialog_print" ).dialog({ autoOpen: false, draggable: false, resizable: false, @@ -45,8 +45,8 @@ $(document).ready(function(){ return false; }); - $( "#opener_help" ).click(function() { - $( "#dialog_help" ).dialog( "open"); + $( "#opener_print" ).click(function() { + $( "#dialog_print" ).dialog( "open"); return false; }); @@ -68,5 +68,4 @@ $(document).ready(function(){ // $("#box-iframe").contents().find("span.btn.text-btn.strikeout-btn").hide(); - }); diff --git a/teleforma/exam/templates/exam/script_detail.html b/teleforma/exam/templates/exam/script_detail.html index 6835a406..48d4575e 100644 --- a/teleforma/exam/templates/exam/script_detail.html +++ b/teleforma/exam/templates/exam/script_detail.html @@ -35,6 +35,7 @@ {% if script.score %} {% trans "Score" %} : {{ script.score|floatformat }}/20 {% trans "Comments" %} + {% trans "Imprimer" %} {% elif script.status == 0 %} {% trans "Rejected" %} {% else %} @@ -104,7 +105,7 @@

-
+

Impression de la copie corrigée

Pour imprimer votre copie corrigée avec les annotations, veuillez :
    -- 2.39.5