diff 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
line wrap: on
line diff
--- a/templates/sat_website/gallery.html	Mon Apr 27 16:21:45 2015 +0200
+++ b/templates/sat_website/gallery.html	Wed Apr 29 13:04:15 2015 +0200
@@ -37,7 +37,7 @@
                 <div class="col-md-4">
                     {% if screenshot.poster %}
 	                    <video index="{{ forloop.counter0 }}" class="thumbnail img-responsive" width="640" height="400" poster="{% static screenshot.poster %}" controls="controls" src="{% static screenshot.path %}" preload="none">
-	                    {% 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 %}
+	                    {% 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 %}
 	                    </video>
                     {% else %}
                         <img index="{{ forloop.counter0 }}" class="thumbnail img-responsive" src="{% static screenshot.path %}">
@@ -79,21 +79,14 @@
                             <div class="item{% if not forloop.counter0 %} active{% endif %}">
                                 {% if screenshot.poster %}
 	                                <video class="img-responsive" width="640" height="400" poster="{% static screenshot.poster %}" controls="controls" src="{% static screenshot.path %}" preload="none">
-	                                {% 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 %}
+	                                {% 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 %}
 	                                </video>
                                 {% else %}
                                     <img class="img-responsive" src="{% static screenshot.path %}">                            
                                 {% endif %}
                                 <div class="carousel-caption">
-                                    {{ screenshot.description }}
-                                    {% if screenshot.lang and screenshot.subtitles %}
-                                        ({% trans "language:" %} {{ screenshot.lang }},
-                                         {% trans "subtitles:" %} {{ screenshot.subtitles }})
-                                    {% elif screenshot.lang %}
-                                        ({% trans "language:" %} {{ screenshot.lang }})
-                                    {% elif screenshot.subtitles %}
-                                        ({% trans "subtitles:" %} {{ screenshot.subtitles }})
-                                    {% endif %}
+                                    {{ screenshot.description }}<br/>
+                                    {{ screenshot.data|metadata }}
                                 </div>
                             </div>
                         {% endfor %}