From 18decc32ef8851bb17fa2a2f6a6554d75f6f6bde Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Fri, 13 Dec 2024 15:52:57 +0100 Subject: [PATCH] Bug 38714: auth.tt - v2 Signed-off-by: Lucas Gass Signed-off-by: Martin Renvoize Signed-off-by: Katrin Fischer --- .../intranet-tmpl/prog/en/modules/auth.tt | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/auth.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/auth.tt index 98c43d1680..04f7187d77 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/auth.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/auth.tt @@ -164,24 +164,24 @@ [% UNLESS IndependentBranches %]

[% IF Koha.Preference('ForceLibrarySelection') %] - [% SET required = 'required="required"' %] - [% SET required_class = 'required' %] - [% END %] - - - + + [% FOREACH l IN Branches.all( unfiltered => 1 ip_limit => 1 ) %] + + [% END %] + Required + [% ELSE %] + + - [% IF Koha.Preference('ForceLibrarySelection') %] - Required + [% END %] + [% IF Koha.Preference('StaffLoginLibraryBasedOnIP')%] Note: Your selection may be overridden if your current IP matches a specified IP for a branch in Koha [% END %]