From: Guillaume Pellerin Date: Thu, 28 May 2015 22:21:56 +0000 (+0200) Subject: upgrade jquery from telemeta, add bootstrap, fix exam.urls X-Git-Tag: 1.1~232^2~5^2 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=92128648acd0154d673e0ae56406a9f347cf8b22;p=teleforma.git upgrade jquery from telemeta, add bootstrap, fix exam.urls --- diff --git a/teleforma/exam/templates/exam/inc/script_list.html b/teleforma/exam/templates/exam/inc/script_list.html index 622533c3..03e85424 100644 --- a/teleforma/exam/templates/exam/inc/script_list.html +++ b/teleforma/exam/templates/exam/inc/script_list.html @@ -24,11 +24,11 @@ {% for script in object_list %} - {% if script.status != 2 %}{% endif %}{{ script.course.title }}{% if script.status != 2 %}{% endif %} - {% if script.status != 2 %}{% endif %}{{ script.session }}{% if script.status != 2 %}{% endif %} - {% if script.status != 2 %}{% endif %}{{ script.type }}{% if script.status != 2 %}{% endif %} - {% if script.author.username %}{{ script.author.last_name }}{% endif %} - {% if script.author.username %}{{ script.author.first_name }}{% endif %} + {% if script.status != 2 %}{% endif %}{{ script.course.title }}{% if script.status != 2 %}{% endif %} + {% if script.status != 2 %}{% endif %}{{ script.session }}{% if script.status != 2 %}{% endif %} + {% if script.status != 2 %}{% endif %}{{ script.type }}{% if script.status != 2 %}{% endif %} + {% if script.author.username %}{{ script.author.last_name }}{% endif %} + {% if script.author.username %}{{ script.author.first_name }}{% endif %} {{ script.date_added }} {% if script.date_marked %}{{ script.date_marked }}{% endif %} {% if script.corrector %}{{ script.corrector }}{% endif %} diff --git a/teleforma/exam/templates/exam/messages/script_marked.txt b/teleforma/exam/templates/exam/messages/script_marked.txt index 628853d0..f899c837 100644 --- a/teleforma/exam/templates/exam/messages/script_marked.txt +++ b/teleforma/exam/templates/exam/messages/script_marked.txt @@ -4,7 +4,7 @@ Votre copie soumise le {{ script.date_added }} en {{ script.course }} pour la s La note, les commentaires et les annotations sont disponibles à cette adresse : -http://{{ site.domain }}{% url teleforma-exam-script-detail script.period.id script.id %} +http://{{ site.domain }}{% url 'teleforma-exam-script-detail' script.period.id script.id %} {% trans "Best regards" %}, {% trans "The site administrator" %} {% trans "of the" %} {% organization %} diff --git a/teleforma/exam/templates/exam/quotas.html b/teleforma/exam/templates/exam/quotas.html index 4f8b8ff2..ac6138f0 100644 --- a/teleforma/exam/templates/exam/quotas.html +++ b/teleforma/exam/templates/exam/quotas.html @@ -30,7 +30,7 @@ {% for quota in object_list %} - {{ quota.corrector.username }} + {{ quota.corrector.username }} {{ quota.course.title }} {{ quota.date_start }} {{ quota.date_end }} diff --git a/teleforma/exam/templates/exam/script_detail.html b/teleforma/exam/templates/exam/script_detail.html index 813f605a..0f754f1a 100644 --- a/teleforma/exam/templates/exam/script_detail.html +++ b/teleforma/exam/templates/exam/script_detail.html @@ -91,11 +91,11 @@
- {{ script.title }} + {{ script.title }}
{% if topic.file %} -  {% trans "Topic" %} +  {% trans "Topic" %} {% endif %} {% if script.score %} {% trans "Score" %} : {{ script.score|floatformat }}/20 diff --git a/teleforma/exam/templates/exam/scripts.html b/teleforma/exam/templates/exam/scripts.html index a51d712b..d9d612bc 100644 --- a/teleforma/exam/templates/exam/scripts.html +++ b/teleforma/exam/templates/exam/scripts.html @@ -18,13 +18,13 @@ {% block modules %}
-

playlists{% trans "Scripts" %}

+

playlists{% trans "Scripts" %}

@@ -34,7 +34,7 @@ {% if upload %} {% block module-action %} {% endblock module-action %} {% endif %} diff --git a/teleforma/templates/telemeta/base.html b/teleforma/templates/telemeta/base.html index 8d1ff77b..692eb975 100644 --- a/teleforma/templates/telemeta/base.html +++ b/teleforma/templates/telemeta/base.html @@ -25,6 +25,7 @@ {% block stylesheets %} +