Lines 1-5
Link Here
|
1 |
[% USE Context %] |
1 |
[% USE Context %] |
2 |
[% USE Biblio %] |
2 |
[% USE Biblio %] |
|
|
3 |
|
4 |
[%# Parameters: %] |
5 |
[%# biblio: the Koha::Biblio object %] |
6 |
[%# biblionumber: FIXME what about using biblio.id? %] |
7 |
|
3 |
<div id="toolbar" class="btn-toolbar"> |
8 |
<div id="toolbar" class="btn-toolbar"> |
4 |
|
9 |
|
5 |
[% IF ( CAN_user_editcatalogue_edit_catalogue || CAN_user_editcatalogue_edit_items || CAN_user_serials_create_subscription || Koha.Preference('CatalogConcerns') ) %] |
10 |
[% IF ( CAN_user_editcatalogue_edit_catalogue || CAN_user_editcatalogue_edit_items || CAN_user_serials_create_subscription || Koha.Preference('CatalogConcerns') ) %] |
Lines 35-41
Link Here
|
35 |
<button class="btn btn-default dropdown-toggle" data-toggle="dropdown"><i class="fa-solid fa-pencil" aria-hidden="true"></i> Edit <span class="caret"></span></button> |
40 |
<button class="btn btn-default dropdown-toggle" data-toggle="dropdown"><i class="fa-solid fa-pencil" aria-hidden="true"></i> Edit <span class="caret"></span></button> |
36 |
<ul class="dropdown-menu"> |
41 |
<ul class="dropdown-menu"> |
37 |
[% 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' and CAN_user_editcatalogue_fast_cataloging ) %] |
38 |
<li><a id="editbiblio" href="/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=[% biblionumber | html %]">Edit record</a></li> |
43 |
[% IF biblio.can_be_edited(logged_in_user) %] |
|
|
44 |
<li><a id="editbiblio" href="/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=[% biblionumber | html %]">Edit record</a></li> |
45 |
[% ELSE %] |
46 |
<li class="disabled"><a id="editbiblio" href="#" data-toggle="tooltip" data-placement="left" title="This record is locked">Edit record</a></li> |
47 |
[% END %] |
39 |
[% END %] |
48 |
[% END %] |
40 |
|
49 |
|
41 |
[% IF CAN_user_tools_records_batchmod %] |
50 |
[% IF CAN_user_tools_records_batchmod %] |
42 |
- |
|
|