]> git.parisson.com Git - teleforma.git/commitdiff
idem
authoryomguy <yomguy@parisson.com>
Tue, 31 Jul 2012 22:24:51 +0000 (00:24 +0200)
committeryomguy <yomguy@parisson.com>
Tue, 31 Jul 2012 22:24:51 +0000 (00:24 +0200)
teleforma/templates/teleforma/inc/media_list.html

index 2ec5d6bb52c4965f2cbc91937f55bd2215928121..1f5e43afcf1995cf8c429d6dd2b47a6cc5c54b63 100644 (file)
          {% if media.is_published or user.is_staff %}
           {% if media.type == 'webm' %}
             <tr>
-            <td {% if forloop.first %}class="border-top"{% endif %} width="230px" valign="middle">
-                <a href="{% url teleforma-media-detail media.id %}" title="{% trans "View" %}" target="_blank">
+            <td {% if forloop.first %}class="border-top"{% endif %} width="230px">
+                <a href="{% url teleforma-media-detail media.id %}" title="{% trans "View" %}" target="_blank" style="vertical-align:middle">
                  {% if media.item.related.all %}
                  {% for related in media.item.related.all %}
                   {% if related.title == "preview" %}
-                  <img src="{{ MEDIA_URL }}{{ related.file }}" width="100%" alt="{% trans 'Click here' %}" style="vertical-align:middle" />
+                  <img src="{{ MEDIA_URL }}{{ related.file }}" width="100%" alt="{% trans 'Click here' %}" />
                   {% endif %}
                  {% endfor %}
                  {% else %}