Lines 102-107
Link Here
|
102 |
:disabled{ |
102 |
:disabled{ |
103 |
opacity:0.5 |
103 |
opacity:0.5 |
104 |
} |
104 |
} |
|
|
105 |
|
106 |
.disabled_trash{ |
107 |
pointer-events: none; |
108 |
cursor: not-allowed ; |
109 |
color: #777; |
110 |
} |
105 |
</style> |
111 |
</style> |
106 |
[% END %] |
112 |
[% END %] |
107 |
</head> |
113 |
</head> |
Lines 1864-1869
Link Here
|
1864 |
return false; |
1870 |
return false; |
1865 |
}); |
1871 |
}); |
1866 |
|
1872 |
|
|
|
1873 |
[% IF (!CAN_user_superlibrarian) %] |
1874 |
var user_branch = "[% Branches.GetLoggedInBranchcode %]"; |
1875 |
if(user_branch !== undefined && user_branch !== ""){ |
1876 |
$('#patron_holds_table tbody tr').each(function() { |
1877 |
var link = $(this).find('a[href*="member"]'); |
1878 |
var rankRequest = $(this).find("select[name='rank-request']"); |
1879 |
if (!link.length){ |
1880 |
$(this).find('.cancel-hold, .fa-trash').addClass('disabled_trash'); |
1881 |
} |
1882 |
$(this).find('.select_hold, .rank-request, td a[data-op="cud-move"], .flatpickr, .toggle-suspend, .clear_date, [name*="change_hold_type_"]').addClass('disabled').attr('disabled', 'disabled'); |
1883 |
$('.select_hold_all, .hold-arrow').addClass('disabled').attr('disabled', 'disabled'); |
1884 |
$('.suspend-hold').prop('disabled', true); |
1885 |
}); |
1886 |
} |
1887 |
[% END %] |
1888 |
|
1867 |
[% UNLESS ( patron || patron.borrowernumber || borrowers || noitems || nobiblio ) %] |
1889 |
[% UNLESS ( patron || patron.borrowernumber || borrowers || noitems || nobiblio ) %] |
1868 |
[% IF ( PatronAutoComplete ) %] |
1890 |
[% IF ( PatronAutoComplete ) %] |
1869 |
patron_autocomplete($(".search_patron_filter"), { 'link-to': 'reserve', 'url-params': '[% url_biblio_params | url %]' }); |
1891 |
patron_autocomplete($(".search_patron_filter"), { 'link-to': 'reserve', 'url-params': '[% url_biblio_params | url %]' }); |