From 3d47c1c6a936a09caae68abf87d2c96b940232c6 Mon Sep 17 00:00:00 2001 From: Andrew Isherwood Date: Thu, 14 Feb 2019 10:24:07 +0000 Subject: [PATCH] Bug 20750: (follow-up) Fix QA script errors As per item 1) here: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20750#c64 Signed-off-by: Josef Moravec --- .../intranet-tmpl/prog/en/modules/ill/log/status_change.tt | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/ill/log/status_change.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/ill/log/status_change.tt index 11f3a783dc..4bdac8412a 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/ill/log/status_change.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/ill/log/status_change.tt @@ -2,18 +2,10 @@ [% log.timestamp | $KohaDates with_hours => 1 %] : Status changed [% IF log.info.status_before %] [% before = log.info.status_before %] -[% - display_before = log.aliases.$before ? - log.aliases.$before.lib : - request.capabilities.$before.name -%] -from "[% display_before %]" +[% display_before = log.aliases.$before ? log.aliases.$before.lib : request.capabilities.$before.name %] +from "[% display_before | html %]" [% END %] [% after = log.info.status_after %] -[% - display_after = log.aliases.$after ? - log.aliases.$after.lib : - request.capabilities.$after.name; -%] +[% display_after = log.aliases.$after ? log.aliases.$after.lib : request.capabilities.$after.name %] to "[% display_after | html %]"

-- 2.11.0