|
Lines 154-187
Link Here
|
| 154 |
|
154 |
|
| 155 |
<h2>Immediate deletion</h2> |
155 |
<h2>Immediate deletion</h2> |
| 156 |
|
156 |
|
| 157 |
<p>Whatever your privacy rule you choose, you can delete all your checkout and hold history immediately by clicking here. <strong>BE CAREFUL</strong>. Once you've confirmed the deletion, no one can retrieve the list!</p> |
157 |
<p>You can delete all your checkout and hold history immediately by clicking here. <strong>BE CAREFUL</strong>. Once you've confirmed the deletion, no one can retrieve the list!</p> |
| 158 |
|
158 |
|
| 159 |
<form action="/cgi-bin/koha/opac-privacy.pl" method="post" id="opac-privacy-delete-form"> |
159 |
<form action="/cgi-bin/koha/opac-privacy.pl" method="post" id="opac-privacy-delete-checkouts"> |
| 160 |
<legend class="sr-only">Checkout history deletion</legend> |
|
|
| 161 |
<input type="hidden" name="op" value="delete_record" /> |
160 |
<input type="hidden" name="op" value="delete_record" /> |
| 162 |
<input type="hidden" name="checkouts" value="1" /> |
161 |
<input type="hidden" name="checkouts" value="1" /> |
| 163 |
<fieldset class="action"> |
|
|
| 164 |
<input type="submit" value="Checkout history" class="btn btn-danger" onclick="return confirmDelete(MSG_CONFIRM_AGAIN);" /> |
| 165 |
</fieldset> |
| 166 |
</form> |
162 |
</form> |
| 167 |
|
163 |
|
| 168 |
<form action="/cgi-bin/koha/opac-privacy.pl" method="post" id="opac-privacy-delete-form"> |
164 |
<form action="/cgi-bin/koha/opac-privacy.pl" method="post" id="opac-privacy-delete-holds"> |
| 169 |
<legend class="sr-only">Hold history deletion</legend> |
|
|
| 170 |
<input type="hidden" name="op" value="delete_record" /> |
165 |
<input type="hidden" name="op" value="delete_record" /> |
| 171 |
<input type="hidden" name="holds" value="1" /> |
166 |
<input type="hidden" name="holds" value="1" /> |
| 172 |
<fieldset class="action"> |
|
|
| 173 |
<input type="submit" value="Hold history" class="btn btn-danger" onclick="return confirmDelete(MSG_CONFIRM_AGAIN);" /> |
| 174 |
</fieldset> |
| 175 |
</form> |
167 |
</form> |
| 176 |
|
168 |
|
| 177 |
<form action="/cgi-bin/koha/opac-privacy.pl" method="post" id="opac-privacy-delete-form"> |
169 |
<form action="/cgi-bin/koha/opac-privacy.pl" method="post" id="opac-privacy-delete-all"> |
| 178 |
<legend class="sr-only">Checkout and hold history deletion</legend> |
|
|
| 179 |
<input type="hidden" name="op" value="delete_record" /> |
170 |
<input type="hidden" name="op" value="delete_record" /> |
| 180 |
<input type="hidden" name="all" value="1" /> |
171 |
<input type="hidden" name="all" value="1" /> |
| 181 |
<fieldset class="action"> |
|
|
| 182 |
<input type="submit" value="Checkout and hold history" class="btn btn-danger" onclick="return confirmDelete(MSG_CONFIRM_AGAIN);" /> |
| 183 |
</fieldset> |
| 184 |
</form> |
172 |
</form> |
|
|
173 |
<table class="table table-bordered table-condensed table-striped"> |
| 174 |
<tr> |
| 175 |
<td colspan=7>Immediately delete my checkout history. This action cannot be undone.</td> |
| 176 |
<td colspan=1> |
| 177 |
<fieldset class="action"> |
| 178 |
<input type="submit" value="Delete checkout history" form="opac-privacy-delete-checkouts" class="btn btn-danger btn-block" onclick="return confirmDelete(MSG_CONFIRM_AGAIN);" /> |
| 179 |
</fieldset> |
| 180 |
</td> |
| 181 |
</tr> |
| 182 |
<tr> |
| 183 |
<td colspan=7>Immediately delete my hold history. This action cannot be undone.</td> |
| 184 |
<td colspan=1> |
| 185 |
<fieldset class="action"> |
| 186 |
<input type="submit" value="Delete hold history" form="opac-privacy-delete-holds" class="btn btn-danger btn-block" onclick="return confirmDelete(MSG_CONFIRM_AGAIN);" /> |
| 187 |
</fieldset> |
| 188 |
</td> |
| 189 |
</tr> |
| 190 |
<tr> |
| 191 |
<td colspan=7>Immediately delete my checkout history & my hold history. This action cannot be undone.</td> |
| 192 |
<td colspan=1> |
| 193 |
<fieldset class="action"> |
| 194 |
<input type="submit" value="Delete checkout and hold history" form="opac-privacy-delete-all" class="btn btn-danger btn-block" onclick="return confirmDelete(MSG_CONFIRM_AGAIN);" /> |
| 195 |
</fieldset> |
| 196 |
</td> |
| 197 |
</tr> |
| 198 |
</table> |
| 185 |
|
199 |
|
| 186 |
[% IF Koha.Preference('StoreLastBorrower') %] |
200 |
[% IF Koha.Preference('StoreLastBorrower') %] |
| 187 |
<p id="store-last-borrower-msg">Please note, the last person to return an item is tracked for the management of items returned damaged.</p> |
201 |
<p id="store-last-borrower-msg">Please note, the last person to return an item is tracked for the management of items returned damaged.</p> |
| 188 |
- |
|
|