Koha/koha-tmpl/intranet-tmpl/prog/en/includes/circ-nav.inc
Owen Leonard dc7e886379 Bug 21693: Clean up checkout notes template
This patch modifies the checkout notes template to help compliance with
coding guidelines and interface patterns:

 - Convert to Bootstrap grid
 - Improve DataTables configuration
 - Put buttons into a toolbar and move above selection links

Also corrected: Minor markup error in circ-nav.inc

To test, apply the patch and enable the AllowCheckoutNotes system
preference. Add a few checkout notes via the OPAC.

 - Go to Circulation -> Checkout notes.
   - Confirm that the page looks correct at various browser widths.
   - Confirm that the first and last columns of the table of notes are
     not sortable.
   - The table should be sorted by default by title.
   - Title sorting should ignore articles "a," "an," and "the."
   - Test with the CircSidebar preference both on and off.
     - With CircSidebar turn on, the checkout notes menu item in the
       left hand sidebar should show a count of checkout notes.

Signed-off-by: Pierre-Marc Thibault <pierre-marc.thibault@inLibro.com>

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

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
2018-12-26 20:47:05 +00:00

45 lines
2.4 KiB
HTML

[% USE Branches %]
<div id="navmenu">
<div id="navmenulist">
<ul>
<li><a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation home</a></li>
</ul>
<h5>Circulation</h5>
<ul>
<li><a href="/cgi-bin/koha/circ/circulation.pl">Check out</a></li>
<li><a href="/cgi-bin/koha/circ/returns.pl">Check in</a></li>
<li><a href="/cgi-bin/koha/circ/renew.pl">Renew</a></li>
[% IF Branches.InIndependentBranchesMode %]
<li><a href="/cgi-bin/koha/circ/branchtransfers.pl">Transfer</a></li>
[% END %]
[% IF ( AutoLocation ) %][% ELSE %][% IF ( IndependentBranches ) %][% ELSE %]
<li><a href="/cgi-bin/koha/circ/selectbranchprinter.pl">Set library</a></li>
[% END %][% END %]
[% IF ( fast_cataloging ) %][% IF ( CAN_user_editcatalogue_fast_cataloging ) %]
<li><a href="/cgi-bin/koha/cataloguing/addbiblio.pl?frameworkcode=FA">Fast cataloging</a></li>
[% END %][% END %]
[% IF Koha.Preference('AllowCheckoutNotes') && CAN_user_circulate_manage_checkout_notes %]
<li><a href="/cgi-bin/koha/circ/checkout-notes.pl">Checkout notes</a> [% IF pending_checkout_notes.count %]<span class="number_box"><a href="/cgi-bin/koha/circ/checkout-notes.pl">[% pending_checkout_notes.count | html %]</a></span>[% END %]</li>
[% END %]
</ul>
<h5>Circulation reports</h5>
<ul>
<li><a href="/cgi-bin/koha/circ/view_holdsqueue.pl">Holds queue</a></li>
<li><a href="/cgi-bin/koha/circ/pendingreserves.pl">Holds to pull</a></li>
<li><a href="/cgi-bin/koha/circ/waitingreserves.pl">Holds awaiting pickup</a></li>
<li><a href="/cgi-bin/koha/circ/reserveratios.pl">Hold ratios</a></li>
<li><a href="/cgi-bin/koha/circ/transferstoreceive.pl">Transfers to receive</a></li>
[% IF ( CAN_user_circulate_overdues_report ) %]
<li><a href="/cgi-bin/koha/circ/overdue.pl">Overdues</a></li>
[% END %]
<li><a href="/cgi-bin/koha/circ/branchoverdues.pl">Overdues with fines</a></li>
[% IF Koha.Preference('OnSiteCheckouts') %]
<li><a href="/cgi-bin/koha/circ/on-site_checkouts.pl">Pending on-site checkouts</a></li>
[% END %]
</ul>
</div>
</div>