From 594382561e171f4d24e7a810bed148b9b278454c Mon Sep 17 00:00:00 2001
From: Piotr Gawron <piotr.gawron@uni.lu>
Date: Wed, 8 Mar 2017 17:42:07 +0100
Subject: [PATCH] issue #50 - click on calendar moves to edit appointment view

---
 smash/web/templates/appointments/index.html | 1 +
 1 file changed, 1 insertion(+)

diff --git a/smash/web/templates/appointments/index.html b/smash/web/templates/appointments/index.html
index 0a44243a..53fce706 100644
--- a/smash/web/templates/appointments/index.html
+++ b/smash/web/templates/appointments/index.html
@@ -156,6 +156,7 @@
             color: '{{ appointment.color }}',
             subject_id: '{{ appointment.visit.subject.id }}',
             id: '{{ appointment.id }}',
+            url: '{% url 'web.views.appointment_edit' appointment.id %}',
           },
         {% endfor %}
           ],
-- 
GitLab