Mercurial > sat_legacy_website
comparison templates/sat_website/gallery.html @ 30:565d653a15d3
append language and subtitles info to video description
author | souliane <souliane@mailoo.org> |
---|---|
date | Thu, 22 Jan 2015 17:25:59 +0100 |
parents | b45621706d83 |
children | a18800261cf6 |
comparison
equal
deleted
inserted
replaced
29:b45621706d83 | 30:565d653a15d3 |
---|---|
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-europe.org/fr/\">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">{{ screenshot.description }}</div> | 87 <div class="carousel-caption"> |
88 {{ screenshot.description }} | |
89 {% if screenshot.lang and screenshot.subtitles %} | |
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> | |
88 </div> | 98 </div> |
89 {% endfor %} | 99 {% endfor %} |
90 </div> | 100 </div> |
91 {% if screenshots|length > 1 %} | 101 {% if screenshots|length > 1 %} |
92 <a class="left carousel-control" href="#carousel-screenshots-modal" data-slide="prev"> | 102 <a class="left carousel-control" href="#carousel-screenshots-modal" data-slide="prev"> |