comparison templates/sat_website/screenshots.html @ 2:0df46e87537d

i18n: marked translatable texts + add change language form on pages footer
author Goffi <goffi@goffi.org>
date Mon, 30 Jul 2012 02:09:38 +0200
parents 9305c6458e2f
children ab8a0f7bd15c
comparison
equal deleted inserted replaced
1:a49aa1b823f6 2:0df46e87537d
18 18
19 You should have received a copy of the GNU Affero General Public License 19 You should have received a copy of the GNU Affero General Public License
20 along with Foobar. If not, see <http://www.gnu.org/licenses/>. 20 along with Foobar. If not, see <http://www.gnu.org/licenses/>.
21 {% endcomment %} 21 {% endcomment %}
22 22
23 {% load i18n %}
23 {% load staticfiles %} 24 {% load staticfiles %}
24 {% load partition %} 25 {% load partition %}
25 26
26 {% block headline %}Some screenshots...{% endblock %} 27 {% block headline %}{% trans "Some screenshots..." %}{% endblock %}
27 {% block extra %} 28 {% block extra %}
28 <div class="btn-group"> 29 <div class="btn-group">
29 <a class="btn btn-info" href="#screenshots">screenshots</a> 30 <a class="btn btn-info" href="#screenshots">{% trans "screenshots" %}</a>
30 <a class="btn btn-primary" href="#screencasts">screencasts</a> 31 <a class="btn btn-primary" href="#screencasts">{% trans "screencasts" %}</a>
31 </div> 32 </div>
32 {% endblock %} 33 {% endblock %}
33 {% block main_container %} 34 {% block main_container %}
34 <a name="screenshots"><h2>Screenshots</h2></a> 35 <a name="screenshots"><h2>{% trans "Screenshots" %}</h2></a>
35 <div class="row"> 36 <div class="row">
36 {% for row in screenshots|columns:3 %} 37 {% for row in screenshots|columns:3 %}
37 <ul class="thumbnails"> 38 <ul class="thumbnails">
38 {% for screenshot in row %} 39 {% for screenshot in row %}
39 <li class="span4"> 40 <li class="span4">
47 48
48 {% endfor %} 49 {% endfor %}
49 </ul> 50 </ul>
50 {% endfor %} 51 {% endfor %}
51 </div> 52 </div>
52 <a name="screencasts"><h2>Screencasts</h2></a> 53 <a name="{% trans "screencasts" %}"><h2>{% trans "Screencasts" %}</h2></a>
53 {% for screencast in screencasts %} 54 {% for screencast in screencasts %}
54 <div class="row"> 55 <div class="row">
55 <div class="span10 offset1"> 56 <div class="span10 offset1">
56 <div class="screencast"> 57 <div class="screencast">
57 <video width="640" height="400" poster="{% static screencast.poster %}" controls="controls" src="{% static screencast.path %}" preload="none"> 58 <video width="640" height="400" poster="{% static screencast.poster %}" controls="controls" src="{% static screencast.path %}" preload="none">
58 Your browser doesn't manage the « video » tag, you should update, e.g. with the last <a href="http://www.mozilla-europe.org/fr/">Firefox</a> 59 {% blocktrans with firefox="<a href=\"http://www.mozilla-europe.org/fr/\">Firefox</a>" %}Your browser doesn't manage the « video » tag, you should update, e.g. with the last {{ firefox }}{% endblocktrans %}
59 </video> 60 </video>
60 </div> 61 </div>
61 <div class="screencast_dest"> 62 <div class="screencast_dest">
62 {{ screencast.description }} 63 {{ screencast.description }}
63 </div> 64 </div>