From 3865e38ebbb945ae8b7943d301a119da0e28b5c9 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Fri, 6 Nov 2020 10:53:56 +0000 Subject: [PATCH] Bug 24786: (QA follow-up) Handle no defined registers This patch hides the register selection option from the login page if no registers have yet been defined on the system. Signed-off-by: Jonathan Druart --- koha-tmpl/intranet-tmpl/prog/en/modules/auth.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/auth.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/auth.tt index d2a14a17e2..85bfa5a1e6 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/auth.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/auth.tt @@ -97,7 +97,7 @@

[% END %] - [% IF Koha.Preference('UseCashRegisters') %] + [% IF Koha.Preference('UseCashRegisters') && Registers.all().size %]