From e5daedc4c77b2016520713d52b087d66518c35c7 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Sun, 4 Aug 2019 14:31:04 -0500 Subject: [PATCH] Bug 18936: Add missing filters MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Minna Kivinen Signed-off-by: Joonas Kylmälä Signed-off-by: Martin Renvoize --- .../prog/en/modules/admin/smart-rules.tt | 44 +++++++++---------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt index 7da729e0e6..71638e0306 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt @@ -157,24 +157,24 @@ [% SET show_rule = maxissueqty || maxonsiteissueqty || issuelength || lengthunit || hardduedate || hardduedatebefore || hardduedateexact || fine || chargeperiod || chargeperiod_charge_at || firstremind || overduefinescap || cap_fine_to_replacement_price || finedays || maxsuspensiondays || suspension_chargeperiod || renewalsallowed || renewalsallowed || norenewalbefore || auto_renew || no_auto_renewal_after || no_auto_renewal_after_hard_limit || reservesallowed || holds_per_day || holds_per_record || onshelfholds || opacitemholds || article_requests || article_requests %] [% IF show_rule %] [% SET row_count = row_count + 1 %] - + [% IF c == undef %] All [% ELSE %] - [% Categories.GetName(c) %] + [% Categories.GetName(c) | html %] [% END %] [% IF i == undef %] All [% ELSE %] - [% ItemTypes.GetDescription(i) %] + [% ItemTypes.GetDescription(i) | html %] [% END %] Edit - Delete + Delete [% IF note.defined %] @@ -183,19 +183,19 @@ [% IF maxissueqty.defined && maxissueqty != '' %] - [% maxissueqty %] + [% maxissueqty | html %] [% ELSE %] Unlimited [% END %] [% IF maxonsiteissueqty.defined && maxonsiteissueqty != '' %] - [% maxonsiteissueqty %] + [% maxonsiteissueqty | html %] [% ELSE %] Unlimited [% END %] - [% issuelength %] + [% issuelength | html %] [% IF ( lengthunit == 'days' ) %] Days @@ -221,10 +221,10 @@ None defined [% END %] - [% fine %] - [% chargeperiod %] + [% fine | html %] + [% chargeperiod | html %] [% IF chargeperiod_charge_at %]Start of interval[% ELSE %]End of interval[% END %] - [% firstremind %] + [% firstremind | html %] [% overduefinescap FILTER format("%.2f") %] [% IF cap_fine_to_replacement_price %] @@ -233,12 +233,12 @@ [% END %] - [% finedays %] - [% maxsuspensiondays %] - [% suspension_chargeperiod %] - [% renewalsallowed %] - [% renewalperiod %] - [% norenewalbefore %] + [% finedays | html %] + [% maxsuspensiondays | html %] + [% suspension_chargeperiod | html %] + [% renewalsallowed | html %] + [% renewalperiod | html %] + [% norenewalbefore | html %] [% IF auto_renew %] Yes @@ -246,17 +246,17 @@ No [% END %] - [% no_auto_renewal_after %] - [% no_auto_renewal_after_hard_limit %] - [% reservesallowed %] + [% no_auto_renewal_after | html %] + [% no_auto_renewal_after_hard_limit | html %] + [% reservesallowed | html %] [% IF holds_per_day.defined && holds != '' %] - [% holds_per_day %] + [% holds_per_day | html %] [% ELSE %] Unlimited [% END %] - [% holds_per_record %] + [% holds_per_record | html %] [% IF onshelfholds == 1 %] Yes @@ -286,7 +286,7 @@ Item only [% END %] - [% rentaldiscount %] + [% rentaldiscount | html %] Edit Delete -- 2.39.5