From: yomguy Date: Thu, 17 Jan 2013 16:49:04 +0000 (+0100) Subject: readd download buttons, fix trans X-Git-Tag: 0.9-probarreau~124 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=0175d225ba0627a795661245d928076e06ac3a66;p=teleforma.git readd download buttons, fix trans --- diff --git a/teleforma/locale/fr/LC_MESSAGES/django.po b/teleforma/locale/fr/LC_MESSAGES/django.po index 366199b7..7df8ac66 100644 --- a/teleforma/locale/fr/LC_MESSAGES/django.po +++ b/teleforma/locale/fr/LC_MESSAGES/django.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2013-01-17 15:45+0100\n" +"POT-Creation-Date: 2013-01-17 15:41+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: Guillaume Pellerin \n" "Language-Team: LANGUAGE \n" @@ -1273,7 +1273,8 @@ msgstr "" "Nous sommes désolés!\n" "\n" "Votre consultation n'a pas été validée.\n" -"Vous pouvez la re-travailler et la soumettre en suivant ce lien :\n" +"Vous pouvez la re-travailler et la soumettre en suivant ce " +"lien :\n" #: templates/teleforma/messages/answer_validated.txt:2 msgid "" @@ -1298,7 +1299,8 @@ msgstr "" "Félicitations!\n" "\n" "Votre séminaire a été validé.\n" -"Vous pouvez télecharger votre attestation en cliquant sur ce lien :\n" +"Vous pouvez télecharger votre attestation en cliquant sur ce " +"lien :\n" #: templates/telemeta/base.html:96 msgid "Desk" @@ -1571,7 +1573,7 @@ msgid "" "testimonial below." msgstr "" "Toutes vos consultations fictives ont été validées ! Vous pouvez désormais " -"télécharger l'attestion de formation ci-dessous." +"télécharger l'attestation de formation ci-dessous." #: views/pro.py:160 msgid "You have successfully saved your answer" diff --git a/teleforma/static/teleforma/css/teleforma.css b/teleforma/static/teleforma/css/teleforma.css index 92577716..cdb5643e 100644 --- a/teleforma/static/teleforma/css/teleforma.css +++ b/teleforma/static/teleforma/css/teleforma.css @@ -1633,7 +1633,7 @@ input,textarea{ .module_action { text-align: center; - margin: 0em 0em 3em 0em; + margin: 2em 0em 3em 0em; padding: 1em; } diff --git a/teleforma/templates/teleforma/seminar_media_audio.html b/teleforma/templates/teleforma/seminar_media_audio.html index 9399c0cb..f52e69d5 100644 --- a/teleforma/templates/teleforma/seminar_media_audio.html +++ b/teleforma/templates/teleforma/seminar_media_audio.html @@ -18,7 +18,8 @@
- +  {% trans "Back" %} +  {% trans "Video" %} {% if user.is_staff %} @@ -122,3 +123,11 @@ function jumpToTimeoffset(time) { {% endblock index %} + +{% block module-action-right %} +{% if media.item.file and media.is_published and media.item.file.path|in_download_formats %} + +{% endif %} +{% endblock module-action-right %} diff --git a/teleforma/templates/teleforma/seminar_media_video.html b/teleforma/templates/teleforma/seminar_media_video.html index 676c78f5..b9d817de 100644 --- a/teleforma/templates/teleforma/seminar_media_video.html +++ b/teleforma/templates/teleforma/seminar_media_video.html @@ -64,13 +64,6 @@ $(window).ready(function(){ {% endblock submodules %} {% block module-action %} -{% for media in medias.all %} - {% if media.item.file and media.is_published and media.item.file.path|in_download_formats %} - - {% endif %} -{% endfor %} {% endblock module-action %} {% block course %} @@ -78,6 +71,7 @@ $(window).ready(function(){
+  {% trans "Back" %}  {% trans "Audio" %} @@ -170,3 +164,11 @@ function jumpToTimeoffset(time) { {% endblock index %} + +{% block module-action-right %} +{% if media.item.file and media.is_published and media.item.file.path|in_download_formats %} + +{% endif %} +{% endblock module-action-right %} diff --git a/teleforma/templates/teleforma/seminars.html b/teleforma/templates/teleforma/seminars.html index e05a33df..8b80d4dd 100644 --- a/teleforma/templates/teleforma/seminars.html +++ b/teleforma/templates/teleforma/seminars.html @@ -158,6 +158,9 @@ server_status_callback(); {% block index %} {% endblock index %} +{% block module-action-right %} +{% endblock module-action-right %} +
{% endblock content %}