Bug 22501: Add raw filter to course reserves summary page
authorKatrin Fischer <katrin.fischer.83@web.de>
Wed, 10 Apr 2019 20:42:22 +0000 (20:42 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 16 Apr 2019 13:13:56 +0000 (14:13 +0100)
Fixes another place where the public note is shown:
- Course reserves module start/summary page

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit 0f02c37aab5e2b2cbffbc2fb84e16b5355a33bcf)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-reserves.tt

index 32ca565..8237ae8 100644 (file)
@@ -41,7 +41,7 @@
                                 <th>Instructors</th>
                                 <th>Staff note</th>
                                 <th>Public note</th>
-                                <th># of Students</th>
+                                <th># of students</th>
                                 <th>Enabled</th>
                             </tr>
                         </thead>
@@ -60,7 +60,7 @@
                                         [% END %]
                                     </td>
                                     <td>[% c.staff_note | html %]</td>
-                                    <td>[% c.public_note | html %]</td>
+                                    <td>[% c.public_note | $raw %]</td>
                                     <td>[% c.students_count | html %]</td>
                                     <td>
                                         [% IF c.enabled == 'yes' %]