From f587fde2267a09bd897ef977747c7c02c3651780 Mon Sep 17 00:00:00 2001 From: Fridolin Somers Date: Thu, 10 Jun 2021 15:05:51 +0200 Subject: [PATCH] Bug 28542: Move new authority from Z39.50/SRU to a button Actually in authority tools bar, 'New from Z39.50/SRU' is inside 'New autority' menu. This is different from biblio cataloguing toolbar, and adds a click to access it. I propose to move this to its own button. Test plan : 1) Create a Z39.50/SRU server connexion for authorities 2) Go to authorities home page 3) Check you see buttons 'New autority' and 'New from Z39.50/SRU' 4) Click on 'New autority' 5) Check you only see autority types 6) Click on 'New from Z39.50/SRU' 7) Check you go to Z39.50/SRU popup 8) Delete Z39.50/SRU server connexion for authorities 9) Go to authorities home page 10) Check you dont see 'New from Z39.50/SRU' Signed-off-by: David Nind --- .../prog/en/includes/authorities-toolbar.inc | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/authorities-toolbar.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/authorities-toolbar.inc index 9c33453adc..5b11a98ba6 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/authorities-toolbar.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/authorities-toolbar.inc @@ -4,20 +4,23 @@
[% IF ( CAN_user_editauthorities ) %]
- +
+ [% IF servers.count > 0 %] +
+ +
+ [% END %] [% END %] [% IF ( authid ) %] -- 2.20.1