From 01bca5a8e21087a5280572bd681fc0a4e4d8e1ce 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" 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" --- 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 %] -- 2.1.0