Bugzilla – Attachment 100143 Details for
Bug 24798
smart-rules.tt has erroneous comments
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 24798: smart-rules.tt has erroneous comments
Bug-24798-smart-rulestt-has-erroneous-comments.patch (text/plain), 1.76 KB, created by
Owen Leonard
on 2020-03-04 18:35:58 UTC
(
hide
)
Description:
Bug 24798: smart-rules.tt has erroneous comments
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2020-03-04 18:35:58 UTC
Size:
1.76 KB
patch
obsolete
>From 3a7b6265d663d59f3388f4ae6ad2d57b6cb9b816 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Wed, 4 Mar 2020 18:29:24 +0000 >Subject: [PATCH] Bug 24798: smart-rules.tt has erroneous comments > >This patch corrects a couple of invalid Template Toolkit comments in the >Circulation and Fines rules template. > >To test, apply the patch and log into the staff client as an >administrator. > >On the Circulation and Fines Rules page "View source" and look for >instances of the text "[#% Default branch %#]" There should be none. >--- > koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt | 4 ++-- > 1 file changed, 2 insertions(+), 2 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 e0f50bf6193..26081844b17 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 >@@ -719,7 +719,7 @@ > <tr> > <td> > <select name="refund"> >- [#% Default branch %#] >+ [% # Default branch %] > [% IF ( current_branch == '*' ) %] > [% IF ( defaultRefundRule ) %] > <option value="1" selected="selected"> >@@ -736,7 +736,7 @@ > No > </option> > [% ELSE %] >- [#% Branch-specific %#] >+ [% # Branch-specific %] > [% IF ( not refundLostItemFeeRule ) %] > <option value="*" selected="selected"> > [% ELSE %] >-- >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 24798
:
100143
|
100177
|
100212