From a3e52fafdb175cfaabe1830eb2ab90a0f4464597 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Fri, 5 Aug 2016 13:56:52 +0000 Subject: [PATCH] Bug 17055 - Add classes to different note types to allow for styling on checkins page MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Returned items may have 3 kinds of notes, patron, item public, and item non-public. However, the html markup for them does not allow us to distinguish which type we are seeing. It would be good to add classes for each of these note types. Test Plan: 1) Check out an item to a patron 2) Add a patron note, a public item note, and a non-public item note to the patron and item you used 3) Check in the item and instead the html, note the each note span now has a class to distinguish which type of note is being displayed. Signed-off-by: Owen Leonard Signed-off-by: Katrin Fischer Signed-off-by: Kyle M Hall (cherry picked from commit dbfda36767c113b8e515e8d2bfedd435ed7bd133) Signed-off-by: Frédéric Demians (cherry picked from commit a86c2250100b898d0c537497c5b6ad20eb969d28) Signed-off-by: Julian Maurice --- koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt index db51f183de..ab23086e7c 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt @@ -617,9 +617,9 @@ $(document).ready(function () { [% ELSE %]Not checked out[% END %] - [% IF ( riloo.bornote ) %]

[% riloo.bornote %]

[% END %] - [% IF ( riloo.itemnote ) %]

[% riloo.itemnote %]

[% END %] - [% IF ( riloo.itemnotes_nonpublic ) %]

[% riloo.itemnotes_nonpublic %]

[% END %] + [% IF ( riloo.bornote ) %]

[% riloo.bornote %]

[% END %] + [% IF ( riloo.itemnote ) %]

[% riloo.itemnote %]

[% END %] + [% IF ( riloo.itemnotes_nonpublic ) %]

[% riloo.itemnotes_nonpublic %]

[% END %] [% END %] -- 2.20.1