From cc65ac4a0d6dd3b02985ca4d56e8a74c77358675 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 29 Aug 2018 16:50:31 -0300 Subject: [PATCH] Bug 21279: (bug 13618 follow-up) Do not escape   in "Transport cost matrix" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Test plan: On Home › Administration › Transport cost matrix you should no longer see " ". Fill some values and save, you should see the correct values. --- .../intranet-tmpl/prog/en/modules/admin/transport-cost-matrix.tt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/transport-cost-matrix.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/transport-cost-matrix.tt index fd06e16bde..4d80c0db5d 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/transport-cost-matrix.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/transport-cost-matrix.tt @@ -68,7 +68,9 @@ [% ELSE %]
[% END %] -
[% bt.disabled ? ' ' : bt.value | html %]
+ [% SET bt_value = ' ' %] + [% UNLESS bt.disabled %][% bt_value = BLOCK %][% bt.value | html %][% END %][% END %] +
[% bt_value | $raw %]
[% IF bt.disabled %] -- 2.11.0