From f0937049f376d829d6baad81c66c298e93587acf Mon Sep 17 00:00:00 2001 From: Colin Campbell Date: Thu, 27 Sep 2018 16:07:37 +0100 Subject: [PATCH] Bug 21417: (QA follow-up) 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 Signed-off-by: Martin Renvoize Signed-off-by: Nick Clemens (cherry picked from commit d70daacebae50fde8449f4cec2bb4578747610fc) Signed-off-by: Martin Renvoize --- .../prog/en/modules/admin/edi_ean_accounts.tt | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) 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 ce300d659b..171e0931d9 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 @@ -141,9 +141,13 @@ [% FOREACH ean IN eans %] - [% ean.branch.branchname %] - [% ean.description %] - [% ean.ean %] + [% IF ean.branch %] + [% ean.branch.branchname | html %] + [% ELSE %] + All libraries + [% END %] + [% ean.description | html %] + [% ean.ean | html %] [% FOREACH qualifier IN code_qualifiers %] [% IF qualifier.code == ean.id_code_qualifier %] -- 2.39.5