From 6173de92bbd595299a75e943d9822cb4ec3a0da1 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 16 Jun 2022 15:24:59 +0200 Subject: [PATCH] Bug 30937: Add a 'does not exist' hint if branchcode is invalid Signed-off-by: Jonathan Druart Signed-off-by: Tomas Cohen Arazi --- koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt index 5fdda101dd..a30b21af4e 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt @@ -130,7 +130,7 @@ Libraries › Administration › Koha [% IF op == 'list' || op == 'view' %]
New library - [% IF op == 'view' %] + [% IF op == 'view' && library %] Edit library [% END %]
@@ -337,7 +337,7 @@ Libraries › Administration › Koha [% END %] [% END %] -[% IF op == 'view' %] +[% IF op == 'view' && library %]

[% library.branchname | html %]

@@ -470,6 +470,8 @@ Libraries › Administration › Koha
[% END %] +[% ELSIF op == 'view' %] +
This library does not exist.
[% END %] -- 2.39.5