From: yomguy Date: Fri, 27 Jul 2012 18:06:21 +0000 (+0200) Subject: add media comment, no download is not published X-Git-Tag: 0.8.3~7 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=6bbfa4c107a54d98b2f0814b23abb2319e37ff41;p=teleforma.git add media comment, no download is not published --- diff --git a/teleforma/templates/teleforma/course_media.html b/teleforma/templates/teleforma/course_media.html index d46ca59b..dc86db50 100644 --- a/teleforma/templates/teleforma/course_media.html +++ b/teleforma/templates/teleforma/course_media.html @@ -57,7 +57,7 @@ $(document).ready(function(){ {% endblock extra_javascript %} {% block module-action %} -{% if media.item.file %} +{% if media.item.file and media.is_published %}
 {% trans "Download" %}
@@ -124,6 +124,7 @@ $(document).ready(function(){
{% trans "End date" %}
{{ media.conference.date_end }}
{% trans "Session" %}
{{ media.conference.session }}
{% trans "Room" %}
{{ media.conference.room }}
+
{% trans "Comment" %}
{{ media.conference.comment }}
{% endif %}
{% trans "Date added" %}
{{ media.date_added }}
{% trans "Mime type" %}
{{ media.mime_type }}