From 2fc5c363869cf71bce83c83b1d54cf952a38d80b Mon Sep 17 00:00:00 2001
From: Robin Sonnabend <robin@fsmpi.rwth-aachen.de>
Date: Tue, 20 Feb 2018 19:32:04 +0100
Subject: [PATCH] Add link to ical feed

---
 views/tables.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/views/tables.py b/views/tables.py
index cc1a1d3..f963283 100644
--- a/views/tables.py
+++ b/views/tables.py
@@ -239,6 +239,8 @@ class ProtocolTypeTable(SingleValueTable):
                     protocoltype_id=self.value.id), "Sitzungen (RSS)"),
                 Table.link(url_for("feed_appointments_atom",
                     protocoltype_id=self.value.id), "Sitzungen (Atom)"),
+                Table.link(url_for("feed_appointments_ical",
+                    protocoltype_id=self.value.id), "Sitzungen (iCal)"),
             ]))]
         action_part = [Table.link(url_for("delete_type", protocoltype_id=self.value.id), "Löschen", confirm="Bist du dir sicher, dass du den Protokolltype {} löschen möchtest?".format(self.value.name))]
         if not self.value.has_admin_right(user):
-- 
GitLab