]> git.parisson.com Git - mezzo.git/commitdiff
fix iframe
authorGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Mon, 4 Apr 2016 11:04:35 +0000 (13:04 +0200)
committerGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Mon, 4 Apr 2016 11:04:35 +0000 (13:04 +0200)
app/festival/templates/festival/video_detail.html
requirements-dev.txt

index 7489c617c21272a9e815cbac37406dd8180db067..fcfe533afbff72ced2ebfab22555f52f6ef0e4d2 100644 (file)
 </div>
 
 <div class="embed-responsive">
-    <iframe src="http://medias.ircam.fr/embed/media/{{ video.media_id }}" frameborder="0" allowfullscreen=""></iframe>
+    <iframe src="http://medias.ircam.fr/embed/media/{{ video.media_id }}" frameborder="0" allowfullscreen="" width="100%"></iframe>
 </div>
 
 <div class="video-event">
     <h2>{% trans 'Related event' %}</h2>
-    <a href="{% url 'event_detail' video.event.slug %}"{{ video.event.title }}</a>
+    <a href="{{ video.event.get_absolute_url }}">{{ video.event.title }}</a>
 </div>
 
 {% endblock %}
index 4e0ea0ebab83c00be98ab0993fced20ba95866a2..1bd2408989c7cdecb8ba8e1b95dd73fe2be78736 100644 (file)
@@ -1,3 +1,4 @@
 -e git+https://github.com/yomguy/mezzanine-agenda.git#egg=mezzanine-agenda-0.2.2
 -e git+https://github.com/stephenmcd/mezzanine.git#egg=mezzanine-4.1-dev
 https://forge.ircam.fr/p/django-eve/source/download/dev/
+