PINES OPAC Customization: Renewals Remaining Tooltip
authorTerran McCanna <tmccanna@georgialibraries.org>
Fri, 11 Dec 2020 21:26:55 +0000 (16:26 -0500)
committerChris Sharp <csharp@georgialibraries.org>
Sat, 19 Nov 2022 19:55:20 +0000 (14:55 -0500)
Move tooltip from each row in My Account > Items Out to column header.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Open-ILS/src/templates-bootstrap/opac/myopac/circs.tt2

index d232d65..1ddc4cc 100755 (executable)
@@ -48,7 +48,7 @@
                 <th>[% l("Cover") %]</th>
                 <th>[% sort_head("sort_title", l("Title")) %]</th>
                 <th>[% sort_head("author", l("Author")) %]</th>
-                <th>[% sort_head("renews", l("Renewals Left")) %]</th>
+                <th>[% sort_head("renews", l("Renewals Left")) %] <a href="#" title="" data-toggle="tooltip" data-original-title="You will be unable to renew items if other patrons have holds on them, if your account is expired, or if you have more than $10.00 in fines and fees."><i class="fas fa-question-circle" aria-hidden="true"></i></a></th>
                 <th>[% sort_head("due", l("Due Date")) %]</th>
                 <th>[% sort_head("barcode", l("Barcode")) %]</th>
                 <th>[% sort_head("callnum", l("Call Number")) %]</th>
                         </td>
                         <td>
                             <span class="sr-only">Renewals Remaining</span>
-                            [% circ.circ.renewal_remaining %] <a href="#" title="" data-toggle="tooltip" data-original-title="You will be unable to renew items if other patrons have holds on them, if your account is expired, or if you have more than $10.00 in fines and fees."><i class="fas fa-question-circle" aria-hidden="true"></i></a>
+                            [% circ.circ.renewal_remaining %]
                         </td>
                         [%
                             due_date = ctx.parse_datetime(circ.circ.due_date, circ.circ.circ_lib);