From 5391a4548b840d0a954fac5b274aef60e98768f2 Mon Sep 17 00:00:00 2001 From: Raphael Maenle Date: Sun, 2 Aug 2020 00:10:14 +0200 Subject: [PATCH] only shows remove calendar button on ical calendar --- server/template/calendar.html | 11 ++++++++--- server/template/startpage.html | 6 ++++-- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/server/template/calendar.html b/server/template/calendar.html index b9c91dc..7d919c8 100644 --- a/server/template/calendar.html +++ b/server/template/calendar.html @@ -2,20 +2,25 @@ {% block body%}
-
Calendar
-
Show on device
-
Color
+
+
Calendar
+
Show on device
+
Color
{% for item in calendars %}
+ {% if "ical" == item.calType %}
+ {% else %} +
+ {% endif %}
{{ item.name }}
diff --git a/server/template/startpage.html b/server/template/startpage.html index 9db2f57..c3cf2c4 100644 --- a/server/template/startpage.html +++ b/server/template/startpage.html @@ -12,13 +12,15 @@
- Connect your Calendar... + + Connect your Calendar..
- ...with your Watchface + + ..with your Tizen Watchface