Lines 22-28
Link Here
|
22 |
<li><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber | uri %]&analyze=1">Analyze items</a></li> |
22 |
<li><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber | uri %]&analyze=1">Analyze items</a></li> |
23 |
[% END %] |
23 |
[% END %] |
24 |
[% IF CAN_user_editcatalogue_edit_catalogue && ! EasyAnalyticalRecords %] |
24 |
[% IF CAN_user_editcatalogue_edit_catalogue && ! EasyAnalyticalRecords %] |
|
|
25 |
[% child_frameworks = Frameworks.GetChildren(frameworkcode) %] |
26 |
[% IF ! child_frameworks || child_frameworks && child_frameworks.size == 0 %] |
25 |
<li><a href="/cgi-bin/koha/cataloguing/addbiblio.pl?parentbiblionumber=[% biblionumber | uri %]">New child record</a></li> |
27 |
<li><a href="/cgi-bin/koha/cataloguing/addbiblio.pl?parentbiblionumber=[% biblionumber | uri %]">New child record</a></li> |
|
|
28 |
[% ELSIF child_frameworks.size == 1 %] |
29 |
<li><a href="/cgi-bin/koha/cataloguing/addbiblio.pl?parentbiblionumber=[% biblionumber | uri %]&frameworkcode=[% child_frameworks.0.frameworkcode %]">New child record</a></li> |
30 |
[% ELSE %] |
31 |
<li class="dropdown-header">New child record using framework</li> |
32 |
[% FOREACH child IN child_frameworks %] |
33 |
<li><a href="/cgi-bin/koha/cataloguing/addbiblio.pl?parentbiblionumber=[% biblionumber | uri %]&frameworkcode=[% child.frameworkcode %]">[% child.frameworktext %]</a></li> |
34 |
[% END %] |
35 |
[% END %] |
26 |
[% END %] |
36 |
[% END %] |
27 |
[% IF Koha.Preference('CatalogConcerns') %] |
37 |
[% IF Koha.Preference('CatalogConcerns') %] |
28 |
<li><a id="newconcern" role="button" href="#" data-toggle="modal" data-target="#addConcernModal">New catalog concern</a></li> |
38 |
<li><a id="newconcern" role="button" href="#" data-toggle="modal" data-target="#addConcernModal">New catalog concern</a></li> |
29 |
- |
|
|