Bug 28542: Move new authority from Z39.50/SRU to a button
authorFridolin Somers <fridolin.somers@biblibre.com>
Thu, 10 Jun 2021 13:05:51 +0000 (15:05 +0200)
committerFridolin Somers <fridolin.somers@biblibre.com>
Sat, 10 Jul 2021 01:32:25 +0000 (15:32 -1000)
commit7fd4a5954a0b83f6611c2335febbc90f7cd08ad9
treefab13a2805f83d24226842bc250d1be93eedf187
parentab02ae9c43dbbfda0bc977cbe952ebb01e0a0056
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 <david@davidnind.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit c2e164891dbaa9427fca641a20fb95a518356698)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/includes/authorities-toolbar.inc