|
Lines 105-110
Link Here
|
| 105 |
:disabled { |
105 |
:disabled { |
| 106 |
opacity: 0.5; |
106 |
opacity: 0.5; |
| 107 |
} |
107 |
} |
|
|
108 |
#cancellation-reason-div { |
| 109 |
display: flex; |
| 110 |
align-items: center; |
| 111 |
} |
| 108 |
</style> |
112 |
</style> |
| 109 |
[% END %] |
113 |
[% END %] |
| 110 |
</head> |
114 |
</head> |
|
Lines 1223-1229
Link Here
|
| 1223 |
<div class="btn-group"> |
1227 |
<div class="btn-group"> |
| 1224 |
<button class="btn cancel_selected_holds" data-bulk="true"></button> |
1228 |
<button class="btn cancel_selected_holds" data-bulk="true"></button> |
| 1225 |
</div> |
1229 |
</div> |
| 1226 |
<fieldset id="cancellation-reason-fieldset" class="action" style="display:none"> |
1230 |
<div id="cancellation-reason-div" style="display:none"> |
| 1227 |
[% SET hold_cancellation = AuthorisedValues.GetAuthValueDropbox('HOLD_CANCELLATION') %] |
1231 |
[% SET hold_cancellation = AuthorisedValues.GetAuthValueDropbox('HOLD_CANCELLATION') %] |
| 1228 |
[% IF hold_cancellation.count %] |
1232 |
[% IF hold_cancellation.count %] |
| 1229 |
<label for="cancellation-reason">Cancellation reason: </label> |
1233 |
<label for="cancellation-reason">Cancellation reason: </label> |
|
Lines 1234-1240
Link Here
|
| 1234 |
[% END %] |
1238 |
[% END %] |
| 1235 |
</select> |
1239 |
</select> |
| 1236 |
[% END %] |
1240 |
[% END %] |
| 1237 |
</fieldset> |
1241 |
</div> |
| 1238 |
</div> |
1242 |
</div> |
| 1239 |
<div class="page-section"> |
1243 |
<div class="page-section"> |
| 1240 |
[% FOREACH biblioloo IN biblioloop %] |
1244 |
[% FOREACH biblioloo IN biblioloop %] |
|
Lines 1471-1482
Link Here
|
| 1471 |
$.fn.select2.defaults.set("dropdownAutoWidth", true ); |
1475 |
$.fn.select2.defaults.set("dropdownAutoWidth", true ); |
| 1472 |
|
1476 |
|
| 1473 |
$(document).ready(function() { |
1477 |
$(document).ready(function() { |
| 1474 |
$('#cancellation-reason-fieldset').hide(); |
1478 |
$('#cancellation-reason-div').hide(); |
| 1475 |
$('.rank-request').on('change', function() { |
1479 |
$('.rank-request').on('change', function() { |
| 1476 |
if ( $(".rank-request option:selected[value='del']").length ) { |
1480 |
if ( $(".rank-request option:selected[value='del']").length ) { |
| 1477 |
$('#cancellation-reason-fieldset').show(); |
1481 |
$('#cancellation-reason-div').show(); |
| 1478 |
} else { |
1482 |
} else { |
| 1479 |
$('#cancellation-reason-fieldset').hide(); |
1483 |
$('#cancellation-reason-div').hide(); |
| 1480 |
} |
1484 |
} |
| 1481 |
}); |
1485 |
}); |
| 1482 |
|
1486 |
|
| 1483 |
- |
|
|