From 659f71f18dd9dc89cb0b7a1899a93b73e4e2a910 Mon Sep 17 00:00:00 2001 From: Antoine Smagghe Date: Fri, 14 Jun 2024 12:13:41 +0200 Subject: [PATCH] Feat: Add leave_requests on faircalendar --- src/templates/pages/faircalendar/_filters_form.njk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/templates/pages/faircalendar/_filters_form.njk b/src/templates/pages/faircalendar/_filters_form.njk index 5e6d9120..6fdaa7c3 100644 --- a/src/templates/pages/faircalendar/_filters_form.njk +++ b/src/templates/pages/faircalendar/_filters_form.njk @@ -1,7 +1,9 @@ {% from 'macros/month_navigator.njk' import month_navigator %} +{% import 'macros/links.njk' as links %} {% macro filters_form() %} + {{ links.add(path('people_leave_requests_add'), text='leave-requests-add-title'|trans) }} {{ month_navigator(monthTarget='#month', yearTarget='#year') }}