Mercurial > sat_legacy_website
diff templates/sat_website/gallery.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 | 746e53efc188 |
children | d59bc45f83ca |
line wrap: on
line diff
--- a/templates/sat_website/gallery.html Wed Jun 10 08:23:01 2015 +0200 +++ b/templates/sat_website/gallery.html Mon Jun 15 13:52:10 2015 +0200 @@ -36,7 +36,7 @@ {% for screenshot in row %} <div class="col-md-4"> {% if screenshot.poster %} - <video index="{{ forloop.counter0 }}" class="thumbnail img-responsive" width="640" height="400" poster="{{ screenshot.poster }}" controls="controls" src="{{ screenshot.path }}" preload="none"> + <video index="{{ forloop.counter0 }}" class="thumbnail img-responsive" width="640" height="400" poster="{{ screenshot.poster }}" controls="controls" src="{{ screenshot.path|replace_language_tag }}" preload="none"> {% 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> {% else %} @@ -78,7 +78,7 @@ {% for screenshot in screenshots %} <div class="item{% if not forloop.counter0 %} active{% endif %}"> {% if screenshot.poster %} - <video class="img-responsive" width="640" height="400" poster="{{ screenshot.poster }}" controls="controls" src="{{ screenshot.path }}" preload="none"> + <video class="img-responsive" width="640" height="400" poster="{{ screenshot.poster }}" controls="controls" src="{{ screenshot.path|replace_language_tag }}" preload="none"> {% 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> {% else %}