Go to image page with annotation in hash.
--- a/src/iconolab/templates/partials/image_annotations_list.html Fri Feb 24 15:15:27 2017 +0100
+++ b/src/iconolab/templates/partials/image_annotations_list.html Fri Feb 24 15:16:28 2017 +0100
@@ -5,8 +5,8 @@
{% if header %}
<h4><strong>Annotations de l'image</strong></h4>
{% endif %}
-
-
+
+
{% if not annotation_list %}
<h3 class="text-center"><small>Aucune annotation à afficher</small></p>
{% else %}
@@ -25,7 +25,7 @@
<td class="col-md-2">
<div class="fragment-container" style="position: relative">
{% thumbnail annotation.image.media "150x150" crop=False as im %}
- <a href="{% url 'annotation_detail' collection_name annotation.image.image_guid annotation.annotation_guid %}">
+ <a href="{% url 'image_detail' collection_name annotation.image.image_guid %}#{{ annotation.annotation_guid }}">
<img v-el:small-image src="{{ im.url }}" width="{{ im.width }}" height="{{ im.height }}" />
<svg width="{{ im.width }}" height="{{ im.height }}" version="1.1" style="position:absolute; top:0px; left: 0px">
<g transform="matrix({% transform_matrix im_width=im.width im_height=im.height max_x=100 max_y=100 %})">
@@ -53,7 +53,7 @@
{{ annotation.current_revision.created|date:'d-m-Y' }}
</td>
<td class="col-md-3">
- {% include "partials/annotation_stats_panel.html" with annotation=annotation %}
+ {% include "partials/annotation_stats_panel.html" with annotation=annotation %}
</td>
{% if show_links %}
<td class="col-md-3">
@@ -69,4 +69,4 @@
{% endfor %}
</table>
{% endif %}
-</ul>
\ No newline at end of file
+</ul>