Bug 17055 - Add classes to different note types to allow for styling on checkins page
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 <oleonard@myacpl.org> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> (cherry picked from commitdbfda36767) Signed-off-by: Frédéric Demians <f.demians@tamil.fr> (cherry picked from commita86c225010) Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
This commit is contained in:
parent
f0be2ce825
commit
a3e52fafdb
|
|
@ -617,9 +617,9 @@ $(document).ready(function () {
|
|||
</a>
|
||||
[% ELSE %]Not checked out[% END %]</td>
|
||||
<td class="ci-note">
|
||||
[% IF ( riloo.bornote ) %]<p><span class="circ-hlt">[% riloo.bornote %]</p></span>[% END %]
|
||||
[% IF ( riloo.itemnote ) %]<p><span class="circ-hlt">[% riloo.itemnote %]</p></span>[% END %]
|
||||
[% IF ( riloo.itemnotes_nonpublic ) %]<p><span class="circ-hlt">[% riloo.itemnotes_nonpublic %]</p></span>[% END %]
|
||||
[% IF ( riloo.bornote ) %]<p><span class="circ-hlt patron-note">[% riloo.bornote %]</p></span>[% END %]
|
||||
[% IF ( riloo.itemnote ) %]<p><span class="circ-hlt item-note-public">[% riloo.itemnote %]</p></span>[% END %]
|
||||
[% IF ( riloo.itemnotes_nonpublic ) %]<p><span class="circ-hlt item-note-nonpublic">[% riloo.itemnotes_nonpublic %]</p></span>[% END %]
|
||||
</td>
|
||||
</tr>
|
||||
[% END %]
|
||||
|
|
|
|||
Loading…
Reference in New Issue