diff templates/sat_website/membership.html @ 90:5de2a3dd4e67

change VideoDesc attribute path to paths, a dict where you can specify a different path for each language
author souliane <souliane@mailoo.org>
date Tue, 16 Jun 2015 17:23:15 +0200
parents 45770a652636
children 9ae3d9c8b28a
line wrap: on
line diff
--- a/templates/sat_website/membership.html	Tue Jun 16 12:35:32 2015 +0200
+++ b/templates/sat_website/membership.html	Tue Jun 16 17:23:15 2015 +0200
@@ -31,8 +31,8 @@
 <div class="row">
     <div class="info text-center">
 	    <video class="video-campaign" poster="http://ftp.goffi.org/media/video/posters/libervia_adhesion_2015.png" controls preload="none">
-            <source src="http://ftp.goffi.org/media/video/libervia_adhesion_2015_fr.webm" type='video/webm; codecs="vp8.0, vorbis"'>
-            <source src="http://ftp.goffi.org/media/video/libervia_adhesion_2015_fr.ogv" type='video/ogg; codecs="theora, vorbis"'>
+            <source src="http://ftp.goffi.org/media/video/libervia_adhesion_2015_{{LANGUAGE_CODE}}.webm" type='video/webm; codecs="vp8.0, vorbis"'>
+            <source src="http://ftp.goffi.org/media/video/libervia_adhesion_2015_{{LANGUAGE_CODE}}.ogv" type='video/ogg; codecs="theora, vorbis"'>
              {% blocktrans with firefox="<a href=\"http://www.mozilla.org/\">Firefox</a>" %}Your browser doesn't manage the « video » tag, you should update, e.g. with the last {{ firefox }}.{% endblocktrans %}
 	    </video>
     </div>