src/egonomy/templates/egonomy_view_fragment.html
changeset 110 4732fcfd3a76
parent 84 b2fbd34b259c
child 149 af59627418e7
--- a/src/egonomy/templates/egonomy_view_fragment.html	Tue Apr 23 11:42:35 2013 +0200
+++ b/src/egonomy/templates/egonomy_view_fragment.html	Thu May 02 14:39:19 2013 +0200
@@ -54,6 +54,10 @@
                                     <th>&nbsp;</th>
                                     <td><a href="{% url 'create_fragment' image_id=fragment.image.id fragment_pk=fragment.pk %}" class="big-button">{% trans "Modify this fragment" %}</a></td>
                                 </tr>
+                                <tr>
+                                    <th>&nbsp;</th>
+                                    <td><a href="{% url 'delete_fragment' %}?fragment_pk={{fragment.pk}}" class="big-button"  onclick="return confirm('{% trans "Do you really want to delete this fragment ? Warning : this action est irreversible." %}')">{% trans "Delete this fragment" %}</a></td>
+                                </tr>
                                 {% endifequal %}
                                 <tr>
                                     <th>&nbsp;</th>