From 833cfdab71b4beead9cfd6856c29150be46f028b Mon Sep 17 00:00:00 2001
From: Piotr Gawron <piotr.gawron@uni.lu>
Date: Fri, 3 Mar 2017 17:46:14 +0100
Subject: [PATCH] Calendar in appointment list shows week number

---
 smash/web/templates/appointments/index.html | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/smash/web/templates/appointments/index.html b/smash/web/templates/appointments/index.html
index 624a8797..0a44243a 100644
--- a/smash/web/templates/appointments/index.html
+++ b/smash/web/templates/appointments/index.html
@@ -143,9 +143,10 @@
 				header: {
 					left: 'prev,next today',
 					center: 'title',
-					right: 'month,agendaWeek'
+					right: 'month,agendaWeek',
 				},
 				editable: false,
+        weekNumbers: true,
 				events: [
         {% for appointment in full_list %}
           {
@@ -154,7 +155,7 @@
             end: '{{ appointment.datetime_until | date:"c" }}',
             color: '{{ appointment.color }}',
             subject_id: '{{ appointment.visit.subject.id }}',
-            id: '{{ appointment.id }}'
+            id: '{{ appointment.id }}',
           },
         {% endfor %}
           ],
-- 
GitLab