From 7ec0773715188cc4e2376d9c87035b226f063491 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Fri, 3 Sep 2021 11:35:47 +0000 Subject: [PATCH] Bug 28945: Use Flatpickr on administration pages This patch updates administration templates to use Flatpickr instead of jQueryUI datepickers. To test, apply the patch and test date fields on the following pages: - Administration -> Budgets -> - New budget: Linked "Start date" and "End date" fields. - Duplicate budget: Linked "Start date" and "End date" fields. - Acquisitions -> Vendor -> New contract: Linked "Start date" and "End date" fields. - Administration -> Circulation and fine rules: "Hard due date" and "No automatic renewal after" fields. Signed-off-by: David Nind Signed-off-by: Martin Renvoize Signed-off-by: Jonathan Druart --- .../prog/en/modules/admin/aqbudgetperiods.tt | 8 ++++---- .../intranet-tmpl/prog/en/modules/admin/aqcontract.tt | 4 ++-- .../intranet-tmpl/prog/en/modules/admin/smart-rules.tt | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgetperiods.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgetperiods.tt index e7d9d87d9b..f2149b50dd 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgetperiods.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgetperiods.tt @@ -189,14 +189,14 @@
  • - + Required
    [% INCLUDE 'date-format.inc' %]
  • - + Required
    [% INCLUDE 'date-format.inc' %]
  • @@ -259,14 +259,14 @@
    1. - + Required
      [% INCLUDE 'date-format.inc' %]
    2. - + Required
      [% INCLUDE 'date-format.inc' %]
    3. diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqcontract.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqcontract.tt index f1c10f98ca..1eee60f12d 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqcontract.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqcontract.tt @@ -132,12 +132,12 @@
    4.   - + Required
      [% INCLUDE 'date-format.inc' %]
    5.   - + Required
      [% INCLUDE 'date-format.inc' %]
    6. diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt index 172e546f8a..1136a68f98 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt @@ -412,7 +412,7 @@ - +
      [% INCLUDE 'date-format.inc' %]
      @@ -444,7 +444,7 @@ - +
      [% INCLUDE 'date-format.inc' %]
      -- 2.39.5