Bugzilla – Attachment 78290 Details for
Bug 21279
Transport cost matrix shows html entity in all empty cells
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 21279: (bug 13618 follow-up) Do not escape in "Transport cost matrix"
Bug-21279-bug-13618-follow-up-Do-not-escape-nbsp-i.patch (text/plain), 1.84 KB, created by
Jonathan Druart
on 2018-08-29 19:53:05 UTC
(
hide
)
Description:
Bug 21279: (bug 13618 follow-up) Do not escape in "Transport cost matrix"
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2018-08-29 19:53:05 UTC
Size:
1.84 KB
patch
obsolete
>From cc65ac4a0d6dd3b02985ca4d56e8a74c77358675 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >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 %] > <div id="celldiv_[% bt.id | html %]"> > [% END %] >- <div class="enable_cost_input" data-cost-id="[% bt.id | html %]">[% bt.disabled ? ' ' : bt.value | html %]</div> >+ [% SET bt_value = ' ' %] >+ [% UNLESS bt.disabled %][% bt_value = BLOCK %][% bt.value | html %][% END %][% END %] >+ <div class="enable_cost_input" data-cost-id="[% bt.id | html %]">[% bt_value | $raw %]</div> > <input type="hidden" name="cost_[% bt.id | html %]" value="[% bt.value | html %]" /> > [% IF bt.disabled %] > <input type="hidden" name="disable_[% bt.id | html %]" value="1" /> >-- >2.11.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 21279
:
78290
|
78291
|
80334
|
80338
|
80351