Bug 12365: (follow-up) Fixing broken circ rules table
authorAleisha Amohia <aleishaamohia@hotmail.com>
Mon, 22 Oct 2018 23:31:29 +0000 (23:31 +0000)
committerNick Clemens <nick@bywatersolutions.com>
Thu, 8 Nov 2018 11:43:12 +0000 (11:43 +0000)
Adding filters to note to satisfy qa test tools

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>

koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt

index 518c1a5..f97b2cf 100644 (file)
 
                                                         <td>
                                                             [% IF rule.note %]
-                                                                <a name="viewnote" data-toggle="popover" title="Note" data-content="[% rule.note %]" data-placement="top" data-trigger="hover">View note</a>
+                                                                <a name="viewnote" data-toggle="popover" title="Note" data-content="[% rule.note | html %]" data-placement="top" data-trigger="hover">View note</a>
                                                             [% ELSE %]&nbsp;[% END %]
                                                         </td>
                                                        <td>[% IF ( rule.unlimited_maxissueqty ) %]
                                                             [% END %]
                                                         </td>
                                                         <td>[% rule.rentaldiscount | html %]</td>
-                                                        <td>[% rule.note | html %]</td>
                                                         <td class="actions">
                                                           <a href="#" class="editrule btn btn-default btn-xs"><i class="fa fa-pencil"></i> Edit</a>
                                                           <a class="btn btn-default btn-xs delete" href="/cgi-bin/koha/admin/smart-rules.pl?op=delete&amp;itemtype=[% rule.itemtype | html %]&amp;categorycode=[% rule.categorycode | html %]&amp;branch=[% rule.current_branch | html %]"><i class="fa fa-trash"></i> Delete</a>