From: Guillaume Pellerin Date: Fri, 7 Feb 2014 20:31:24 +0000 (+0100) Subject: add item id to video X-Git-Tag: 2.8.1-pro~301 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=bc6fcbad680afafa89e35eeea146917245c997b9;p=teleforma.git add item id to video --- diff --git a/teleforma/templates/teleforma/seminar_media_audio.html b/teleforma/templates/teleforma/seminar_media_audio.html index 88509e6e..9145d5d3 100644 --- a/teleforma/templates/teleforma/seminar_media_audio.html +++ b/teleforma/templates/teleforma/seminar_media_audio.html @@ -65,7 +65,7 @@
-
{% trans "Title" %}
{{ media.item.title }} - {{ seminar.sub_title }} - {{ media.rank }}
+
{% trans "Title" %}
{% if media.title %}{{ media.title }}{% else %}{{ media.item.title }}{% endif %}
{% with seminar.professor.all as professors %} {% if professors %} diff --git a/teleforma/templates/teleforma/seminar_media_video.html b/teleforma/templates/teleforma/seminar_media_video.html index 8940544d..dd4cbf10 100644 --- a/teleforma/templates/teleforma/seminar_media_video.html +++ b/teleforma/templates/teleforma/seminar_media_video.html @@ -126,6 +126,7 @@ $(window).ready(function(){
{% trans "Date modified" %}
{{ media.date_modified }}
{% trans "Media ID" %}
{{ media.id }}
{% trans "Seminar ID" %}
{{ seminar.code }}
+
{% trans "Idem ID" %}
{{ media.item.public_id }}
{% endif %}