From: Guillaume Pellerin Date: Mon, 18 Apr 2016 08:56:07 +0000 (+0200) Subject: fix no ts_item_id X-Git-Tag: 1.6.2^2~40 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=baea667b95889ab7fa4321d6683aec47ebef3326;p=telemeta.git fix no ts_item_id --- diff --git a/telemeta/templates/telemeta/mediaitem_detail.html b/telemeta/templates/telemeta/mediaitem_detail.html index 243c2af1..bdfa0e09 100644 --- a/telemeta/templates/telemeta/mediaitem_detail.html +++ b/telemeta/templates/telemeta/mediaitem_detail.html @@ -210,15 +210,16 @@ {{ format.extension }} {% endfor %} - {% block DIADEMS %} - - - - {% endblock DIADEMS %} - + {% block DIADEMS %} + {% if ts_item_id %} + + + + {% endif %} + {% endblock DIADEMS %} {% endif %}