Lines 35-45
Link Here
|
35 |
</div> |
35 |
</div> |
36 |
[% END %] |
36 |
[% END %] |
37 |
|
37 |
|
38 |
[% IF ( CAN_user_editcatalogue_edit_catalogue || CAN_user_editcatalogue_edit_items || CAN_user_tools_items_batchmod || CAN_user_tools_items_batchdel ) or ( frameworkcode == 'FA' and CAN_user_editcatalogue_fast_cataloging ) %] |
38 |
[% IF ( CAN_user_editcatalogue_edit_catalogue || CAN_user_editcatalogue_edit_items || CAN_user_tools_items_batchmod || CAN_user_tools_items_batchdel ) or ( frameworkcode == 'FA' || is_fast_add and CAN_user_editcatalogue_fast_cataloging ) %] |
39 |
<div class="btn-group"> |
39 |
<div class="btn-group"> |
40 |
<button class="btn btn-default dropdown-toggle" data-bs-toggle="dropdown" aria-expanded="false"><i class="fa-solid fa-pencil" aria-hidden="true"></i> Edit</button> |
40 |
<button class="btn btn-default dropdown-toggle" data-bs-toggle="dropdown" aria-expanded="false"><i class="fa-solid fa-pencil" aria-hidden="true"></i> Edit</button> |
41 |
<ul class="dropdown-menu"> |
41 |
<ul class="dropdown-menu"> |
42 |
[% IF CAN_user_editcatalogue_edit_catalogue or ( frameworkcode == 'FA' and CAN_user_editcatalogue_fast_cataloging ) %] |
42 |
[% IF CAN_user_editcatalogue_edit_catalogue or ( frameworkcode == 'FA' || is_fast_add and CAN_user_editcatalogue_fast_cataloging ) %] |
43 |
[% IF biblio.can_be_edited(logged_in_user) %] |
43 |
[% IF biblio.can_be_edited(logged_in_user) %] |
44 |
<li><a class="dropdown-item" id="editbiblio" href="/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=[% biblionumber | html %]">Edit record</a></li> |
44 |
<li><a class="dropdown-item" id="editbiblio" href="/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=[% biblionumber | html %]">Edit record</a></li> |
45 |
[% ELSE %] |
45 |
[% ELSE %] |
Lines 59-65
Link Here
|
59 |
</li> |
59 |
</li> |
60 |
[% END %] |
60 |
[% END %] |
61 |
|
61 |
|
62 |
[% IF CAN_user_editcatalogue_edit_items or ( frameworkcode == 'FA' and CAN_user_editcatalogue_fast_cataloging ) %] |
62 |
[% IF CAN_user_editcatalogue_edit_items or ( frameworkcode == 'FA' || is_fast_add and CAN_user_editcatalogue_fast_cataloging ) %] |
63 |
<li><a class="dropdown-item" id="manageitems" href="/cgi-bin/koha/cataloguing/additem.pl?biblionumber=[% biblionumber | html %]">Manage items</a></li> |
63 |
<li><a class="dropdown-item" id="manageitems" href="/cgi-bin/koha/cataloguing/additem.pl?biblionumber=[% biblionumber | html %]">Manage items</a></li> |
64 |
[% END %] |
64 |
[% END %] |
65 |
|
65 |
|
Lines 128-134
Link Here
|
128 |
<li><a class="dropdown-item" href="#" id="z3950copy">Replace record via Z39.50/SRU</a></li> |
128 |
<li><a class="dropdown-item" href="#" id="z3950copy">Replace record via Z39.50/SRU</a></li> |
129 |
[% END %] |
129 |
[% END %] |
130 |
|
130 |
|
131 |
[% IF CAN_user_editcatalogue_edit_catalogue or ( frameworkcode == 'FA' and CAN_user_editcatalogue_fast_cataloging ) %] |
131 |
[% IF CAN_user_editcatalogue_edit_catalogue or ( frameworkcode == 'FA' || is_fast_add and CAN_user_editcatalogue_fast_cataloging ) %] |
132 |
[% IF ( count ) %] |
132 |
[% IF ( count ) %] |
133 |
<li data-bs-toggle="tooltip" data-bs-placement="left" title="[% count | html %] item(s) are attached to this record. You must delete all items before deleting this record"> |
133 |
<li data-bs-toggle="tooltip" data-bs-placement="left" title="[% count | html %] item(s) are attached to this record. You must delete all items before deleting this record"> |
134 |
<a class="dropdown-item disabled" aria-disabled="true" id="deletebiblio" href="#">Delete record</a> |
134 |
<a class="dropdown-item disabled" aria-disabled="true" id="deletebiblio" href="#">Delete record</a> |
Lines 150-156
Link Here
|
150 |
[% END %] |
150 |
[% END %] |
151 |
[% END %] |
151 |
[% END %] |
152 |
|
152 |
|
153 |
[% IF CAN_user_editcatalogue_delete_all_items or ( frameworkcode == 'FA' and CAN_user_editcatalogue_fast_cataloging ) %] |
153 |
[% IF CAN_user_editcatalogue_delete_all_items or ( frameworkcode == 'FA' || is_fast_add and CAN_user_editcatalogue_fast_cataloging ) %] |
154 |
[% IF ( count ) %] |
154 |
[% IF ( count ) %] |
155 |
<li> |
155 |
<li> |
156 |
<form action="/cgi-bin/koha/cataloguing/additem.pl" method="post"> |
156 |
<form action="/cgi-bin/koha/cataloguing/additem.pl" method="post"> |