From b1db99eb04fe6d9cdac9b3efa4550726f1d70a90 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 5 Jan 2016 14:46:06 +0000 Subject: [PATCH] Bug 15360: Rename "New from Z39.50" with "Replace with Z39.50" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit If the record exist, the button text should not be "New from", but "Replace". Test plan: Go on the authority home page (authorities/authorities-home.pl) You should see a "New from Z39.50" button. Edit an authority You should now see "Replace with Z39.50" Followed test plan, displays as expected. Signed-off-by: Marc VĂ©ron --- koha-tmpl/intranet-tmpl/prog/en/includes/authorities-toolbar.inc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 8270327..9b5719f 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/authorities-toolbar.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/authorities-toolbar.inc @@ -60,7 +60,11 @@
- New from Z39.50 + [% IF authid %] + Replace using Z39.50 + [% ELSE %] + New from Z39.50 + [% END %]
[% END %] -- 1.7.10.4