annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
1 {% extends "sat_website/category.html" %}
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
2
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
3 {% comment %}
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
4 SàT website: Salut à Toi's presentation website
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
5 Copyright (C) 2012 Jérôme Poisson (goffi@goffi.org)
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
6
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
7 This file is part of SàT website.
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
8
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
9 SàT website is free software: you can redistribute it and/or modify
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
10 it under the terms of the GNU Affero General Public License as published by
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
11 the Free Software Foundation, either version 3 of the License, or
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
12 (at your option) any later version.
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
13
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
14 Foobar is distributed in the hope that it will be useful,
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
17 GNU Affero General Public License for more details.
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
18
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
19 You should have received a copy of the GNU Affero General Public License
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
20 along with Foobar. If not, see <http://www.gnu.org/licenses/>.
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
21 {% endcomment %}
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
22
2
0df46e87537d i18n: marked translatable texts + add change language form on pages footer
Goffi <goffi@goffi.org>
parents: 0
diff changeset
23 {% load i18n %}
0
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
24 {% load staticfiles %}
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
25 {% load partition %}
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
26
2
0df46e87537d i18n: marked translatable texts + add change language form on pages footer
Goffi <goffi@goffi.org>
parents: 0
diff changeset
27 {% block headline %}{% trans "Some screenshots..." %}{% endblock %}
0
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
28 {% block extra %}
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
29 <div class="btn-group">
2
0df46e87537d i18n: marked translatable texts + add change language form on pages footer
Goffi <goffi@goffi.org>
parents: 0
diff changeset
30 <a class="btn btn-info" href="#screenshots">{% trans "screenshots" %}</a>
0df46e87537d i18n: marked translatable texts + add change language form on pages footer
Goffi <goffi@goffi.org>
parents: 0
diff changeset
31 <a class="btn btn-primary" href="#screencasts">{% trans "screencasts" %}</a>
0
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
32 </div>
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
33 {% endblock %}
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
34 {% block main_container %}
2
0df46e87537d i18n: marked translatable texts + add change language form on pages footer
Goffi <goffi@goffi.org>
parents: 0
diff changeset
35 <a name="screenshots"><h2>{% trans "Screenshots" %}</h2></a>
0
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
36 <div class="row">
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
37 {% for row in screenshots|columns:3 %}
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
38 <ul class="thumbnails">
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
39 {% for screenshot in row %}
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
40 <li class="span4">
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
41 <a href="{% static screenshot.path %}" class="thumbnail">
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
42 <img src="{% static screenshot.path %}" alt="{{ screenshot.description }}">
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
43 </a>
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
44 <div class="screenshot_desc">
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
45 {{ screenshot.description }}
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
46 </div>
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
47 </li>
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
48
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
49 {% endfor %}
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
50 </ul>
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
51 {% endfor %}
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
52 </div>
2
0df46e87537d i18n: marked translatable texts + add change language form on pages footer
Goffi <goffi@goffi.org>
parents: 0
diff changeset
53 <a name="{% trans "screencasts" %}"><h2>{% trans "Screencasts" %}</h2></a>
0
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
54 {% for screencast in screencasts %}
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
55 <div class="row">
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
56 <div class="span10 offset1">
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
57 <div class="screencast">
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
58 <video width="640" height="400" poster="{% static screencast.poster %}" controls="controls" src="{% static screencast.path %}" preload="none">
2
0df46e87537d i18n: marked translatable texts + add change language form on pages footer
Goffi <goffi@goffi.org>
parents: 0
diff changeset
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 %}
0
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
60 </video>
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
61 </div>
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
62 <div class="screencast_dest">
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
63 {{ screencast.description }}
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
64 </div>
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
65 </div>
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
66 </div>
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
67 {% endfor %}
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
68 {% endblock %}