diff templates/sat_website/membership.html @ 83:3d04a955bec4

add membership campaign's video (for now ogv, will eventually change to webm)
author souliane <souliane@mailoo.org>
date Mon, 15 Jun 2015 13:52:10 +0200
parents 13ebb548f234
children d59bc45f83ca
line wrap: on
line diff
--- a/templates/sat_website/membership.html	Wed Jun 10 08:23:01 2015 +0200
+++ b/templates/sat_website/membership.html	Mon Jun 15 13:52:10 2015 +0200
@@ -23,11 +23,20 @@
 
 {% load i18n %}
 {% load staticfiles %}
+{% get_current_language as LANGUAGE_CODE %}
 
 {% block headline %}{% trans "Join the association" %}{% endblock %}
 {% block main_container %}
 
 <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="controls" src="http://ftp.goffi.org/media/video/libervia_adhesion_2015_{{ LANGUAGE_CODE }}.ogv">
+	        Votre butineur ne gère pas la balise « video », vous devriez le mettre à jour, par ex. avec le dernier  <a href="http://www.mozilla.org/">Firefox</a>
+	    </video>
+    </div>
+</div>
+                        
+<div class="row">
     <h5 class="alert alert-success">{% trans "About the association" %}</h5>
     <div class="info">
         <p>{% trans "We want it to be as transparent as the software. You can read about its mission, its organisation and check the official documents." %}</p>