From 74a1687fc54e15d3e8ba15f040a37d34556f8cd0 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 (cherry picked from commit f0937049f376d829d6baad81c66c298e93587acf) Signed-off-by: Fridolin Somers --- .../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 675f7e3e99..40e39eec11 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 @@ -139,9 +139,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