diff --git a/beesdoo_website_shift/controllers/main.py b/beesdoo_website_shift/controllers/main.py index 6eed47a..080e3a5 100644 --- a/beesdoo_website_shift/controllers/main.py +++ b/beesdoo_website_shift/controllers/main.py @@ -300,6 +300,7 @@ class WebsiteShiftController(http.Controller): subscribed_shifts.append(shift) return { + 'is_regular': self.is_user_regular(), 'subscribed_shifts': subscribed_shifts, } diff --git a/beesdoo_website_shift/views/my_shift_website_templates.xml b/beesdoo_website_shift/views/my_shift_website_templates.xml index 431ec5e..0b84832 100644 --- a/beesdoo_website_shift/views/my_shift_website_templates.xml +++ b/beesdoo_website_shift/views/my_shift_website_templates.xml @@ -116,6 +116,21 @@
+
+
+
+
+
+ Warning ! For the moment public holidays are not taken into account. If your shift + occures during a public holiday, you do not have to do it. +
+
+
+
+
+ +
+