cleanup on annotation list template
authordurandn
Mon, 11 Jul 2016 11:47:46 +0200
changeset 63 96e35b9957ba
parent 62 8702ab13783e
child 64 4d1e369e85d4
cleanup on annotation list template
src/iconolab/templates/partials/image_annotations_list.html
--- a/src/iconolab/templates/partials/image_annotations_list.html	Thu Jul 07 16:34:31 2016 +0200
+++ b/src/iconolab/templates/partials/image_annotations_list.html	Mon Jul 11 11:47:46 2016 +0200
@@ -10,7 +10,6 @@
     {% else %}
     	{% for annotation in annotation_list %}
     	<li class="small-image-wrapper">
-    		
     		<div class="fragment-container" style="position: relative">
     		{% thumbnail annotation.image.media "x300" crop="center" as im %}
     			<img v-el:small-image src="{{ im.url }}" width="{{ im.width }}" height="{{ im.height }}" />
@@ -21,18 +20,15 @@
     			</svg>
     			</div>
     		{% endthumbnail %}
-    			<div class="fragment-infos">
-    				<a class="fa fa-eye" href="{% url 'annotation_detail' collection_name image_guid annotation.annotation_guid  %}">Voir</a>
-    				<p class="small">Créee par <strong>{{ annotation.author }}</strong>, dernière révision le {{ annotation.current_revision.created|date:'d-m-Y' }}<p>
-    				<p class="small">Contributeurs: 
-                    {% for contributor in annotation.stats.contributors %}
-                      {% if not forloop.last %}
-                                                 
-                      {% endif %}
-                        <strong>{{ contributor }}</strong>{% if not forloop.last %}, {% endif %}
-                    {% endfor %}
-    				</p>
-    			</div>
+			<div class="fragment-infos">
+				<a class="fa fa-eye" href="{% url 'annotation_detail' collection_name image_guid annotation.annotation_guid  %}">Voir</a>
+				<p class="small">Créee par <strong>{{ annotation.author }}</strong>, dernière révision le {{ annotation.current_revision.created|date:'d-m-Y' }}<p>
+				<p class="small">Contributeurs: 
+                {% for contributor in annotation.stats.contributors %}
+                    <strong>{{ contributor }}</strong>{% if not forloop.last %}, {% endif %}
+                {% endfor %}
+				</p>
+			</div>
     	</li>
         {% endfor %}
     {% endif %}