Bug 19987: If no z39.50/SRU servers the button should not show
authorGrace Smyth <gracesmythh@gmail.com>
Thu, 18 Jan 2018 20:30:00 +0000 (20:30 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 31 Jan 2018 07:57:05 +0000 (08:57 +0100)
commitb986d5071fea52a9bd81de87c776bfa28502052f
treec55f2dd97d3067d7f7351bf5108301d3db12725b
parent06d7942eb56c7e9914b00644452ae60078e05b00
Bug 19987: If no z39.50/SRU servers the button should not show

Test plan:
[1.] Load the patch and make sure you have some Z39.50/SRU servers
     (Administration => Z39.50/SRU servers administration)
[2.] Then go to authorities and notice that the 'New from
     Z39.50/SRU' button is there
[3.] Next go to cataloging and notice that the 'New from Z39.50/SRU'
     button is there too
[4.] Now make sure you have no Z39.50/SRU servers (remove the
     servers)
     (Administration => Z39.50/SRU servers administration)
[5.] Go to authorities and notice that the 'New from Z39.50/SRU'
     button is not there
[6.] Lastly go to cataloging and notice that the 'New from Z39.50/SRU'
     button is not there too

:)

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
I added a missing [% END %] during signoff. Hope no one minds!

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit 0b3e70c961be7dcc5aa18f5dc7e0996852563e66)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
authorities/authorities-home.pl
cataloguing/addbooks.pl
koha-tmpl/intranet-tmpl/prog/en/includes/authorities-toolbar.inc
koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbooks.tt