Bug 39824: Add a direct link to default framework in MARC bibliographic frameworks page

In Administration > MARC bibliographic frameworks, add a  direct link to default framework can be very useful.
Currently one needs to move to the actions button, click to open it, and click on "MARC Structure".

Test plan :
1) Apply patch
2) Go to Administration > MARC bibliographic frameworks
3) See new link in tools bar "View default framework"
4) Click on it, you go to default framework MARC structure

Signed-off-by: Roman Dolny <roman.dolny@jezuici.pl>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
Fridolin Somers 2025-05-05 09:50:33 +02:00 committed by Lucas Gass
parent dcdb8b058c
commit ed9a24cfb2
No known key found for this signature in database
GPG Key ID: 60B447398B0D36CA
1 changed files with 1 additions and 0 deletions

View File

@ -100,6 +100,7 @@
[% IF op == 'list' %]
<div id="toolbar" class="btn-toolbar">
<a class="btn btn-default" id="newframework" href="/cgi-bin/koha/admin/biblio_framework.pl?op=add_form"><i class="fa fa-plus"></i> New framework</a>
<a class="btn btn-default" id="view_default_framework" href="/cgi-bin/koha/admin/marctagstructure.pl?frameworkcode="><i class="fa fa-eye"></i> View default framework</a>
</div>
[% END %]