Commit d5056b52 authored by Michael Murtaugh's avatar Michael Murtaugh
Browse files

remove double urlencode in play + poster

parent 8f79fb6a
......@@ -57,7 +57,7 @@
<!-- FILE -->
{% set f = i %}
{% if f.play %}
{% set play_link = f.play|urlencode %}
{% set play_link = f.play %}
{%else%}
{% set play_link = f.id %}
{% endif %}
......@@ -82,7 +82,7 @@
{% endif %}
</td>
<td class="name">
<a {% if f.play %}property="hasPlay dcterms:hasFormat" href="{{f.play|urlencode}}"{%else%}href="{{f.id}}"{% endif %}><span property="dcterms:title" content="{%if f.title%}{{f.title}}{% else %}{{f.filename|filename2title}}{% endif %}">{{f.filename|wbr_}}</span></a>
<a {% if f.play %}property="hasPlay dcterms:hasFormat" href="{{f.play}}"{%else%}href="{{f.id}}"{% endif %}><span property="dcterms:title" content="{%if f.title%}{{f.title}}{% else %}{{f.filename|filename2title}}{% endif %}">{{f.filename|wbr_}}</span></a>
{% if f.play %}<a class="original" href="{{f.id}}">&crarr;</a>{% endif %}
{% if f.mediatype == "pdf" %}
<span property="mediatype" content="pdf"></span>
......@@ -95,7 +95,7 @@
{% endif %}
{% if f.ext %}<span property="dcterms:format" content="{{f.ext}}"></span>{% endif %}
{% if f.poster %}
<a class="rdf" property="hasPoster dcterms:hasFormat" href="{{f.poster|urlencode}}"></a>
<a class="rdf" property="hasPoster dcterms:hasFormat" href="{{f.poster}}"></a>
{% endif %}
</td>
<td class="lastmod" align="right" property="dcterms:modified" datatype="xsd:dateTime" content="{{f.mtime}}">{{f.mtime|strftime}}</td>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment