# HG changeset patch
# User cavaliet
# Date 1360080618 -3600
# Node ID 48614929b87abc67adc16c3f0a87d3f8cb711c06
# Parent d65e05154aec72005793e87773b69983aa3abdf7
Real sort on home. Real pict's fragment on other pages. Real links on intelligent pagination.
diff -r d65e05154aec -r 48614929b87a src/egonomy/static/egonomy/css/egonomy.css
--- a/src/egonomy/static/egonomy/css/egonomy.css Tue Feb 05 13:16:57 2013 +0100
+++ b/src/egonomy/static/egonomy/css/egonomy.css Tue Feb 05 17:10:18 2013 +0100
@@ -129,6 +129,10 @@
font-weight: bold;
}
+.right{
+ float: right;
+}
+
.main-wrap {
background: #ffffff; /* Old browsers */
background: -moz-linear-gradient(top, #f0f0f0 20%, #ffffff 80%); /* FF3.6+ */
@@ -172,6 +176,9 @@
.subcol_all {
float: left; margin: 2px 0 4px 10px; width: 110px;
}
+.subcol_all:nth-child(8n+1) {
+ margin-left: 0; clear: left;
+}
.column-third {
float: left; width: 312px;
@@ -205,6 +212,7 @@
margin-left: 0; clear: left;
}
+
.column-full {
margin-left: 0; width: 968px;
}
diff -r d65e05154aec -r 48614929b87a src/egonomy/templates/egonomy_annotate_picture.html
--- a/src/egonomy/templates/egonomy_annotate_picture.html Tue Feb 05 13:16:57 2013 +0100
+++ b/src/egonomy/templates/egonomy_annotate_picture.html Tue Feb 05 17:10:18 2013 +0100
@@ -74,15 +74,16 @@
{% empty %}
{% endthumbnail %}
{% else %}
- {% thumbnail frg.image.image "110" format="PNG" crop="center" as im %}
+ {% thumbnail image "110" format="PNG" crop="center" as im %}
{% empty %}
@@ -91,8 +92,9 @@
{% else %}
{% endif %}
+ {% endwith %}
{% empty %}
{% endthumbnail %}
{% else %}
- {% thumbnail frg.image.image "110" format="PNG" crop="center" as im %}
+ {% thumbnail image "110" format="PNG" crop="center" as im %}
{% empty %}
@@ -92,8 +93,9 @@
{% else %}
{% endif %}
+ {% endwith %}
{% if search %}{% trans "Corresponding pictures" %}{% else %}{% trans "Last annotated pictures" %}{% endif %}
+ {% if search %}{% trans "Corresponding pictures" %}{% else %}{% trans "Last annotated pictures" %}{% endif %}
+ {% trans "All pictures" %}
{% for img in img_list %}
{{ img.metadata.titre }}
+
{% trans "Annotated by" %} {{ img.metadata.auteur }}
{% endfor %} diff -r d65e05154aec -r 48614929b87a src/egonomy/templates/egonomy_view_fragment.html --- a/src/egonomy/templates/egonomy_view_fragment.html Tue Feb 05 13:16:57 2013 +0100 +++ b/src/egonomy/templates/egonomy_view_fragment.html Tue Feb 05 17:10:18 2013 +0100 @@ -47,6 +47,9 @@ +
{% endthumbnail %}
{% else %}
- {% thumbnail frg.image.image "110" format="PNG" crop="center" as im %}
+ {% thumbnail image "110" format="PNG" crop="center" as im %}
@@ -75,8 +79,9 @@
{% else %}
{% endif %}
+ {% endwith %}