# HG changeset patch # User Alexandre Segura # Date 1494926973 -7200 # Node ID 11a862e01b04c7ec7ccd591361900ed6f52cf54a # Parent a6290b2fae6b1499619f3c5a797096e35920d23b Implement annotation on the whole picture. diff -r a6290b2fae6b -r 11a862e01b04 src/iconolab/templates/iconolab/detail_image.html --- a/src/iconolab/templates/iconolab/detail_image.html Mon May 15 14:44:14 2017 +0200 +++ b/src/iconolab/templates/iconolab/detail_image.html Tue May 16 11:29:33 2017 +0200 @@ -41,7 +41,8 @@ v-bind:is-authenticated="isAuthenticated" v-bind:annotations="annotations" v-on:click:annotation="onAnnotationClick($event)" - v-on:close:annotation="onAnnotationClose"> + v-on:close:annotation="onAnnotationClose" + v-on:add:annotation="onAnnotationAdd">
{% csrf_token %} @@ -55,15 +56,17 @@
+ author-url="{% url 'user_home' '--username--' %}" + v-on:close="onAnnotationClose"> {% csrf_token %}
- +
-