|
Lines 206-212
function placeHold () {
Link Here
|
| 206 |
function forgetPatron(){ |
206 |
function forgetPatron(){ |
| 207 |
$.removeCookie("holdfor", { path: '/' }); |
207 |
$.removeCookie("holdfor", { path: '/' }); |
| 208 |
$(".holdforlink").remove(); |
208 |
$(".holdforlink").remove(); |
| 209 |
$("#placeholdc").html("<a class=\"btn btn-mini placehold\" href=\"#\"><i class=\"fa fa-hold\"></i> "+_("Place hold")+"</a>"); |
209 |
$("#placeholdc").html("<a class=\"btn btn-mini placehold\" href=\"#\"><i class=\"fa fa-sticky-note-o"\"></i> "+_("Place hold")+"</a>"); |
| 210 |
} |
210 |
} |
| 211 |
|
211 |
|
| 212 |
function addToList () { |
212 |
function addToList () { |
|
Lines 318-324
var holdForPatron = function () {
Link Here
|
| 318 |
[% IF ( CAN_user_reserveforothers && DisplayMultiPlaceHold ) %] |
318 |
[% IF ( CAN_user_reserveforothers && DisplayMultiPlaceHold ) %] |
| 319 |
[% IF ( holdfor ) %] |
319 |
[% IF ( holdfor ) %] |
| 320 |
<div id="placeholdc" class="btn-group"> |
320 |
<div id="placeholdc" class="btn-group"> |
| 321 |
<button class="btn btn-mini placehold"><i class="fa fa-hold"></i> Place hold</button> |
321 |
<button class="btn btn-mini placehold"><i class="fa fa-sticky-note-o"></i> Place hold</button> |
| 322 |
<button class="btn btn-mini dropdown-toggle" data-toggle="dropdown"> |
322 |
<button class="btn btn-mini dropdown-toggle" data-toggle="dropdown"> |
| 323 |
<span class="caret"></span> |
323 |
<span class="caret"></span> |
| 324 |
</button> |
324 |
</button> |
|
Lines 330-336
var holdForPatron = function () {
Link Here
|
| 330 |
</ul> |
330 |
</ul> |
| 331 |
</div> |
331 |
</div> |
| 332 |
[% ELSE %] |
332 |
[% ELSE %] |
| 333 |
<div id="placeholdc" class="btn-group"><a class="btn btn-mini placehold" href="#"><i class="fa fa-hold"></i> Place hold</a></div> |
333 |
<div id="placeholdc" class="btn-group"><a class="btn btn-mini placehold" href="#"><i class="fa fa-sticky-note-o""></i> Place hold</a></div> |
| 334 |
[% END %] |
334 |
[% END %] |
| 335 |
[% END %] |
335 |
[% END %] |
| 336 |
|
336 |
|