comparison templates/sat_website/gallery.html @ 46:a18800261cf6

change some texts, add a couple of screenshots, set metadata version and year to the medias
author souliane <souliane@mailoo.org>
date Wed, 29 Apr 2015 13:04:15 +0200
parents 565d653a15d3
children d54f2f09a73a
comparison
equal deleted inserted replaced
45:62c23067e86e 46:a18800261cf6
35 <div class="item{% if not forloop.counter0 %} active{% endif %}"> 35 <div class="item{% if not forloop.counter0 %} active{% endif %}">
36 {% for screenshot in row %} 36 {% for screenshot in row %}
37 <div class="col-md-4"> 37 <div class="col-md-4">
38 {% if screenshot.poster %} 38 {% if screenshot.poster %}
39 <video index="{{ forloop.counter0 }}" class="thumbnail img-responsive" width="640" height="400" poster="{% static screenshot.poster %}" controls="controls" src="{% static screenshot.path %}" preload="none"> 39 <video index="{{ forloop.counter0 }}" class="thumbnail img-responsive" width="640" height="400" poster="{% static screenshot.poster %}" controls="controls" src="{% static screenshot.path %}" preload="none">
40 {% 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 %} 40 {% 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 %}
41 </video> 41 </video>
42 {% else %} 42 {% else %}
43 <img index="{{ forloop.counter0 }}" class="thumbnail img-responsive" src="{% static screenshot.path %}"> 43 <img index="{{ forloop.counter0 }}" class="thumbnail img-responsive" src="{% static screenshot.path %}">
44 {% endif %} 44 {% endif %}
45 </div> 45 </div>
77 <div class="carousel-inner" role="listbox"> 77 <div class="carousel-inner" role="listbox">
78 {% for screenshot in screenshots %} 78 {% for screenshot in screenshots %}
79 <div class="item{% if not forloop.counter0 %} active{% endif %}"> 79 <div class="item{% if not forloop.counter0 %} active{% endif %}">
80 {% if screenshot.poster %} 80 {% if screenshot.poster %}
81 <video class="img-responsive" width="640" height="400" poster="{% static screenshot.poster %}" controls="controls" src="{% static screenshot.path %}" preload="none"> 81 <video class="img-responsive" width="640" height="400" poster="{% static screenshot.poster %}" controls="controls" src="{% static screenshot.path %}" preload="none">
82 {% 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 %} 82 {% 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 %}
83 </video> 83 </video>
84 {% else %} 84 {% else %}
85 <img class="img-responsive" src="{% static screenshot.path %}"> 85 <img class="img-responsive" src="{% static screenshot.path %}">
86 {% endif %} 86 {% endif %}
87 <div class="carousel-caption"> 87 <div class="carousel-caption">
88 {{ screenshot.description }} 88 {{ screenshot.description }}<br/>
89 {% if screenshot.lang and screenshot.subtitles %} 89 {{ screenshot.data|metadata }}
90 ({% trans "language:" %} {{ screenshot.lang }},
91 {% trans "subtitles:" %} {{ screenshot.subtitles }})
92 {% elif screenshot.lang %}
93 ({% trans "language:" %} {{ screenshot.lang }})
94 {% elif screenshot.subtitles %}
95 ({% trans "subtitles:" %} {{ screenshot.subtitles }})
96 {% endif %}
97 </div> 90 </div>
98 </div> 91 </div>
99 {% endfor %} 92 {% endfor %}
100 </div> 93 </div>
101 {% if screenshots|length > 1 %} 94 {% if screenshots|length > 1 %}