From 5aeb798694b241e746b880f569f58094553beae4 Mon Sep 17 00:00:00 2001 From: Colin Campbell Date: Thu, 27 Sep 2018 16:07:37 +0100 Subject: [PATCH] Bug 21417 - Display default EAN as such in admin display A branch value of null is interpreted as the default Add text 'All libraries' to this case in the display rather than blank so that its function is clear to the user Signed-off-by: Pierre-Marc Thibault --- koha-tmpl/intranet-tmpl/prog/en/modules/admin/edi_ean_accounts.tt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/edi_ean_accounts.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/edi_ean_accounts.tt index fcf40de..28e5cbc 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/edi_ean_accounts.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/edi_ean_accounts.tt @@ -142,7 +142,11 @@ [% FOREACH ean IN eans %] + [% IF ean.branch %] [% ean.branch.branchname | html %] + [% ELSE %] + All libraries + [% END %] [% ean.description | html %] [% ean.ean | html %] -- 2.7.4