]> git.parisson.com Git - teleforma.git/commitdiff
fix snapshot url
authoryomguy <yomguy@parisson.com>
Wed, 5 Dec 2012 19:22:02 +0000 (20:22 +0100)
committeryomguy <yomguy@parisson.com>
Wed, 5 Dec 2012 19:22:02 +0000 (20:22 +0100)
teleforma/templates/teleforma/inc/conference_list.html

index 57840dc4c04141badbf29014a41d22f4eee5fe01..cee064b9a19320486d00cf62b5d6210a9ce2e1d7 100644 (file)
@@ -16,7 +16,7 @@
             {% if stream.streaming %}
             <td {% if forloop.first %}class="border-top"{% endif %} width="230px">
                <a href="{% url teleforma-conference-detail stream.conference.id %}" title="{% trans "View" %}">
-               <img id="snapshot-{{ stream.course.code }}-{{ stream.course_type }}" src="{{ stream.snapshot_url }}" width="100%" alt="{% trans 'Click here' %}" />
+               <img id="snapshot-{{ stream.course.code }}-{{ stream.course_type }}" src="{{ stream.snapshot_url|set_host:HOST }}" width="100%" alt="{% trans 'Click here' %}" />
                </a>
             </td>
             <td {% if forloop.first %}class="border-top"{% endif %} width="60%" style="padding-left: 1em;">