|
Lines 5-10
Link Here
|
| 5 |
[% USE Branches %] |
5 |
[% USE Branches %] |
| 6 |
[% USE TablesSettings %] |
6 |
[% USE TablesSettings %] |
| 7 |
[% USE AuthorisedValues %] |
7 |
[% USE AuthorisedValues %] |
|
|
8 |
[% PROCESS 'i18n.inc' %] |
| 8 |
[% SET footerjs = 1 %] |
9 |
[% SET footerjs = 1 %] |
| 9 |
[% INCLUDE 'doc-head-open.inc' %] |
10 |
[% INCLUDE 'doc-head-open.inc' %] |
| 10 |
<title>Holds awaiting pickup › Circulation › Koha</title> |
11 |
<title>Holds awaiting pickup › Circulation › Koha</title> |
|
Lines 92-113
Link Here
|
| 92 |
<p><a href="/cgi-bin/koha/admin/background_jobs.pl?op=view&id=[% job_id | uri %]" title="View detail of the enqueued job">View detail of the enqueued job</a></p> |
93 |
<p><a href="/cgi-bin/koha/admin/background_jobs.pl?op=view&id=[% job_id | uri %]" title="View detail of the enqueued job">View detail of the enqueued job</a></p> |
| 93 |
</div> |
94 |
</div> |
| 94 |
[% END %] |
95 |
[% END %] |
| 95 |
<div id="resultlist" class="toptabs"> |
96 |
|
| 96 |
<ul class="nav nav-tabs" role="tablist"> |
97 |
[% WRAPPER tabs id= "resultlist" %] |
| 97 |
<li role="presentation" class="active"><a href="#holdswaiting" aria-controls="holdswaiting" role="tab" data-toggle="tab">Holds waiting: [% reservecount | html %]</a></li> |
98 |
[% WRAPPER tabs_nav %] |
| 98 |
<li role="presentation"> |
99 |
[% WRAPPER tab_item tabname= "holdswaiting" bt_active= 1 %] |
| 99 |
<a href="#holdsover" aria-controls="holdsover" role="tab" data-toggle="tab"> |
100 |
<span>Holds waiting:</span> [% reservecount | html %] |
| 100 |
Holds waiting over [% Koha.Preference('ReservesMaxPickUpDelay') | html %] days: [% overcount | html %] |
101 |
[% END %] |
| 101 |
</a> |
102 |
[% WRAPPER tab_item tabname= "holdsover" %] |
| 102 |
</li> |
103 |
[% tx("Holds waiting over {count} days:", { count = Koha.Preference('ReservesMaxPickUpDelay') }) %] [% overcount | html %] |
| 103 |
<li role="presentation"> |
104 |
[% END %] |
| 104 |
<a href="#holdscancelled" aria-controls="holdscancelled" role="tab" data-toggle="tab"> |
105 |
[% WRAPPER tab_item tabname= "holdscancelled" %] |
| 105 |
Holds with cancellation requests: [% cancel_reqs_count | html %] |
106 |
<span>Holds with cancellation requests:</span> [% cancel_reqs_count | html %] |
| 106 |
</a> |
107 |
[% END %] |
| 107 |
</li> |
108 |
[% END # /WRAPPER tabs_nav %] |
| 108 |
</ul> <!-- /.nav.nav-tabs --> |
109 |
|
| 109 |
<div class="tab-content"> |
110 |
[% WRAPPER tab_panels %] |
| 110 |
<div role="tabpanel" class="tab-pane active" id="holdswaiting"> |
111 |
[% WRAPPER tab_panel tabname="holdswaiting" bt_active= 1 %] |
| 111 |
[% IF ( reserveloop ) %] |
112 |
[% IF ( reserveloop ) %] |
| 112 |
<div id="toolbar" class="btn-toolbar"> |
113 |
<div id="toolbar" class="btn-toolbar"> |
| 113 |
<button class="btn btn-default cancel_selected_holds" data-bulk="true"></button> |
114 |
<button class="btn btn-default cancel_selected_holds" data-bulk="true"></button> |
|
Lines 116-123
Link Here
|
| 116 |
[% ELSE %] |
117 |
[% ELSE %] |
| 117 |
<div class="dialog message">No holds found.</div> |
118 |
<div class="dialog message">No holds found.</div> |
| 118 |
[% END %] |
119 |
[% END %] |
| 119 |
</div> <!-- /#holdswaiting --> |
120 |
[% END # /tab_panel#holdswaiting %] |
| 120 |
<div role="tabpanel" class="tab-pane" id="holdsover"> |
121 |
|
|
|
122 |
[% WRAPPER tab_panel tabname="holdsover" %] |
| 121 |
[% IF ( ReservesMaxPickUpDelay ) %] |
123 |
[% IF ( ReservesMaxPickUpDelay ) %] |
| 122 |
<p>Holds listed here have been awaiting pickup for more than [% ReservesMaxPickUpDelay | html %] days.</p> |
124 |
<p>Holds listed here have been awaiting pickup for more than [% ReservesMaxPickUpDelay | html %] days.</p> |
| 123 |
[% END %] |
125 |
[% END %] |
|
Lines 142-157
Link Here
|
| 142 |
[% ELSE %] |
144 |
[% ELSE %] |
| 143 |
<div class="dialog message">No holds found.</div> |
145 |
<div class="dialog message">No holds found.</div> |
| 144 |
[% END # /IF( overloop ) %] |
146 |
[% END # /IF( overloop ) %] |
| 145 |
</div> <!-- /#holdsover --> |
147 |
[% END # /tab_panel#holdsover %] |
| 146 |
<div role="tabpanel" class="tab-pane" id="holdscancelled"> |
148 |
|
|
|
149 |
[% WRAPPER tab_panel tabname="holdscancelled" %] |
| 147 |
[% IF cancel_reqs_count %] |
150 |
[% IF cancel_reqs_count %] |
| 148 |
[% INCLUDE waiting_holds.inc select_column='1' table_name='holdscr' reserveloop=cancel_reqs tab='holdscr' %] |
151 |
[% INCLUDE waiting_holds.inc select_column='1' table_name='holdscr' reserveloop=cancel_reqs tab='holdscr' %] |
| 149 |
[% ELSE %] |
152 |
[% ELSE %] |
| 150 |
<div class="dialog message">No holds found.</div> |
153 |
<div class="dialog message">No holds found.</div> |
| 151 |
[% END %] |
154 |
[% END %] |
| 152 |
</div> <!-- /#holdscancelled --> |
155 |
[% END # /tab_panel#holdscancelled %] |
| 153 |
</div> <!-- /.tab-content --> |
156 |
[% END # /WRAPPER tab_panels %] |
| 154 |
</div> <!-- /#resultlist.toptabs --> |
157 |
[% END # /WRAPPER tabs %] |
|
|
158 |
|
| 155 |
[% END # /IF ( cancel_result ) %] |
159 |
[% END # /IF ( cancel_result ) %] |
| 156 |
</div> <!-- /.col-sm-10.col-sm-push-2 --> |
160 |
</div> <!-- /.col-sm-10.col-sm-push-2 --> |
| 157 |
|
161 |
|
| 158 |
- |
|
|