Mercurial > sat_legacy_website
comparison 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 |
comparison
equal
deleted
inserted
replaced
124:5aad1b36183f | 125:699b9b130368 |
---|---|
30 | 30 |
31 {% comment %} | 31 {% comment %} |
32 <div class="row"> | 32 <div class="row"> |
33 <div class="info text-center"> | 33 <div class="info text-center"> |
34 <video class="video-campaign" poster="http://ftp.goffi.org/media/video/posters/libervia_adhesion_2015.png" controls preload="none"> | 34 <video class="video-campaign" poster="http://ftp.goffi.org/media/video/posters/libervia_adhesion_2015.png" controls preload="none"> |
35 <source src="http://ftp.goffi.org/media/video/libervia_adhesion_2015_{{LANGUAGE_CODE}}.webm" type='video/webm; codecs="vp8.0, vorbis"'> | 35 <source src="http://ftp.goffi.org/media/video/libervia_adhesion_2015_{% trans "en" %}.webm" type='video/webm; codecs="vp8.0, vorbis"'> |
36 <source src="http://ftp.goffi.org/media/video/libervia_adhesion_2015_{{LANGUAGE_CODE}}.ogv" type='video/ogg; codecs="theora, vorbis"'> | 36 <source src="http://ftp.goffi.org/media/video/libervia_adhesion_2015_{% trans "en" %}.ogv" type='video/ogg; codecs="theora, vorbis"'> |
37 {% get_language_info for LANGUAGE_CODE as lang %} | 37 {% get_language_info for LANGUAGE_CODE as lang %} |
38 <track label="{{lang.name_local}}" src="http://ftp.goffi.org/media/video/libervia_adhesion_2015_{{LANGUAGE_CODE}}.vtt" kind="subtitles" srclang="{{LANGUAGE_CODE}}" default /> | 38 <track label="{{lang.name_local}}" src="http://ftp.goffi.org/media/video/libervia_adhesion_2015_{{LANGUAGE_CODE}}.vtt" kind="subtitles" srclang="{{LANGUAGE_CODE}}" default /> |
39 {% 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 %} | 39 {% 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 %} |
40 </video> | 40 </video> |
41 </div> | 41 </div> |
45 {% endcomment %} | 45 {% endcomment %} |
46 | 46 |
47 <div class="row"> | 47 <div class="row"> |
48 <div class="alert alert-info"> | 48 <div class="alert alert-info"> |
49 <p style="text-align: center"> | 49 <p style="text-align: center"> |
50 <a href="http://www.arizuka.com/{{LANGUAGE_CODE}}/projects/libervia/" target="#"> | 50 <a href="http://www.arizuka.com/{% trans "en" %}/projects/libervia/" target="#"> |
51 <img src="{% static "images/misc/campagne_android.png" %}" style="max-width:100%;" /> | 51 <img src="{% static "images/misc/campagne_android.png" %}" style="max-width:100%;" /> |
52 </a> | 52 </a> |
53 </p> | 53 </p> |
54 <p> </p> | 54 <p> </p> |
55 <p style="max-width: 754px; text-align: justify; margin: auto"> | 55 <p style="max-width: 754px; text-align: justify; margin: auto"> |
60 {{ campaign_countdown }} | 60 {{ campaign_countdown }} |
61 {% if campaign_countdown > 1 %}{% trans " days" %}{% else %}{% trans "day" %}{% endif %} | 61 {% if campaign_countdown > 1 %}{% trans " days" %}{% else %}{% trans "day" %}{% endif %} |
62 {% trans "left!" %} | 62 {% trans "left!" %} |
63 </p> | 63 </p> |
64 <p style="text-align: center"> | 64 <p style="text-align: center"> |
65 <a class="btn btn-primary btn-lg" href="http://www.arizuka.com/{{LANGUAGE_CODE}}/projects/libervia/" target="#" role="button">{% trans "Crowdfunding campaign" %}</a> | 65 <a class="btn btn-primary btn-lg" href="http://www.arizuka.com/{% trans "en" %}/projects/libervia/" target="#" role="button">{% trans "Crowdfunding campaign" %}</a> |
66 </p> | 66 </p> |
67 </div> | 67 </div> |
68 </div> | 68 </div> |
69 | 69 |
70 <div class="row"> | 70 <div class="row"> |