Bug 35560: (follow-up) Add in-page links to jump between tables

Also a terminology change: I think "Past holds" reads better than
"Historical holds."

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Baptiste Wojtkowski <baptiste.wojtkowski@biblibre.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
Owen Leonard 2024-03-28 17:17:26 +00:00 committed by Katrin Fischer
parent 605ca6176e
commit 86b4fcf656
No known key found for this signature in database
GPG Key ID: 0EF6E2C03357A834
1 changed files with 8 additions and 2 deletions

View File

@ -52,7 +52,10 @@
[% SET show_itemtype_column = Koha.Preference('AllowHoldItemTypeSelection') %]
<div id="holdshistory" class="page-section">
<h2>Current holds</h2>
<h2 id="current_holds_heading">Current holds</h2>
<p
><a href="#past_holds_heading"><i class="fa fa-arrow-down" aria-hidden="true"></i> View past holds</a></p
>
[% IF patron.holds.count %]
<div id="current_holds_filters" data-table-id="table_holdshistory">
<p>
@ -101,7 +104,10 @@
<div class="dialog message">This patron has no current holds.</div>
[% END %]
<h2>Historical holds</h2>
<h2 id="past_holds_heading">Past holds</h2>
<p
><a href="#current_holds_heading"><i class="fa fa-arrow-up" aria-hidden="true"></i> View current holds</a></p
>
[% IF patron.old_holds.count %]
<div id="old_holds_filters" data-table-id="table_oldholdshistory">
<p>