Corrected route for annotation list on detail_image.html
authordurandn
Tue, 28 Jun 2016 18:12:55 +0200
changeset 40 38a4c0c31b11
parent 39 cd1fab6934a9
child 41 4fffc78a91b2
Corrected route for annotation list on detail_image.html
src/iconolab/templates/partials/image_annotations_list.html
--- a/src/iconolab/templates/partials/image_annotations_list.html	Tue Jun 28 18:25:26 2016 +0200
+++ b/src/iconolab/templates/partials/image_annotations_list.html	Tue Jun 28 18:12:55 2016 +0200
@@ -19,7 +19,7 @@
 			</div>
 		{% endthumbnail %}
 			<div class="fragment-infos">
-				<a class="fa fa-eye" href="{% url 'annotation_edit' collection_name image_guid annotation.annotation_guid  %}">Voir</a>
+				<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></strong><p>
 				<p class="small">Révisée par <strong>{{ annotation.current_revision.author }}</strong>
 				le {{ annotation.current_revision.created|date:'d-m-Y' }}