From: Guillaume Pellerin Date: Mon, 21 Dec 2015 23:10:30 +0000 (+0100) Subject: fix no video sharing X-Git-Tag: 1.6b~7^2~31 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=8da8c8fa76abad581746052381a969a075c92042;p=telemeta.git fix no video sharing --- diff --git a/telemeta/templates/telemeta/mediaitem_detail.html b/telemeta/templates/telemeta/mediaitem_detail.html index 3ce287fc..34ed347c 100644 --- a/telemeta/templates/telemeta/mediaitem_detail.html +++ b/telemeta/templates/telemeta/mediaitem_detail.html @@ -415,11 +415,13 @@

{% trans "Share the audio player" %}

" title="{% trans "Share the audio player" %}" onclick="this.focus();this.select()" size="68">

+ {% if "video" in mime_type %}

{% trans "Share the video player" %}

" title="{% trans "Share the video player" %}" onclick="this.focus();this.select()" size="68"> + {% endif %}