Mercurial > sat_legacy_website
diff templates/sat_website/membership.html @ 125:699b9b130368
fixes i18n of the campaign's links
author | souliane <souliane@mailoo.org> |
---|---|
date | Mon, 23 Nov 2015 15:18:35 +0100 |
parents | e138879873f1 |
children | 1bdb78a21647 |
line wrap: on
line diff
--- a/templates/sat_website/membership.html Fri Nov 06 10:15:33 2015 +0100 +++ b/templates/sat_website/membership.html Mon Nov 23 15:18:35 2015 +0100 @@ -32,8 +32,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_{{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"'> + <source src="http://ftp.goffi.org/media/video/libervia_adhesion_2015_{% trans "en" %}.webm" type='video/webm; codecs="vp8.0, vorbis"'> + <source src="http://ftp.goffi.org/media/video/libervia_adhesion_2015_{% trans "en" %}.ogv" type='video/ogg; codecs="theora, vorbis"'> {% get_language_info for LANGUAGE_CODE as lang %} <track label="{{lang.name_local}}" src="http://ftp.goffi.org/media/video/libervia_adhesion_2015_{{LANGUAGE_CODE}}.vtt" kind="subtitles" srclang="{{LANGUAGE_CODE}}" default /> {% 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 %} @@ -47,7 +47,7 @@ <div class="row"> <div class="alert alert-info"> <p style="text-align: center"> - <a href="http://www.arizuka.com/{{LANGUAGE_CODE}}/projects/libervia/" target="#"> + <a href="http://www.arizuka.com/{% trans "en" %}/projects/libervia/" target="#"> <img src="{% static "images/misc/campagne_android.png" %}" style="max-width:100%;" /> </a> </p> @@ -62,7 +62,7 @@ {% trans "left!" %} </p> <p style="text-align: center"> - <a class="btn btn-primary btn-lg" href="http://www.arizuka.com/{{LANGUAGE_CODE}}/projects/libervia/" target="#" role="button">{% trans "Crowdfunding campaign" %}</a> + <a class="btn btn-primary btn-lg" href="http://www.arizuka.com/{% trans "en" %}/projects/libervia/" target="#" role="button">{% trans "Crowdfunding campaign" %}</a> </p> </div> </div>