Mercurial > sat_legacy_website
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 |
rev | line source |
---|---|
0 | 1 {% extends "sat_website/category.html" %} |
2 | |
3 {% comment %} | |
4 SàT website: Salut à Toi's presentation website | |
5 Copyright (C) 2012 Jérôme Poisson (goffi@goffi.org) | |
6 | |
7 This file is part of SàT website. | |
8 | |
9 SàT website is free software: you can redistribute it and/or modify | |
10 it under the terms of the GNU Affero General Public License as published by | |
11 the Free Software Foundation, either version 3 of the License, or | |
12 (at your option) any later version. | |
13 | |
14 Foobar is distributed in the hope that it will be useful, | |
15 but WITHOUT ANY WARRANTY; without even the implied warranty of | |
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
17 GNU Affero General Public License for more details. | |
18 | |
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/>. | |
21 {% endcomment %} | |
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 | 24 {% load staticfiles %} |
25 {% load partition %} | |
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 | 28 {% block extra %} |
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 | 32 </div> |
33 {% endblock %} | |
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 | 36 <div class="row"> |
37 {% for row in screenshots|columns:3 %} | |
38 <ul class="thumbnails"> | |
39 {% for screenshot in row %} | |
40 <li class="span4"> | |
41 <a href="{% static screenshot.path %}" class="thumbnail"> | |
42 <img src="{% static screenshot.path %}" alt="{{ screenshot.description }}"> | |
43 </a> | |
44 <div class="screenshot_desc"> | |
45 {{ screenshot.description }} | |
46 </div> | |
47 </li> | |
48 | |
49 {% endfor %} | |
50 </ul> | |
51 {% endfor %} | |
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 | 54 {% for screencast in screencasts %} |
55 <div class="row"> | |
56 <div class="span10 offset1"> | |
57 <div class="screencast"> | |
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 | 60 </video> |
61 </div> | |
62 <div class="screencast_dest"> | |
63 {{ screencast.description }} | |
64 </div> | |
65 </div> | |
66 </div> | |
67 {% endfor %} | |
68 {% endblock %} |