Browse Source

Bug 27471: Change auth merge success link text and don't redirect

Test Plan:
1. Follow the steps above to reproduce
2. Notice how there is no message telling the user that the merge was
successsful
3. Apply patch
4. Repeat step 1
5. Now notice how the user is redirected to a page with a message that
says that the merge was successful, and there is a link with helpful
text to view the merged record

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
21.05.x
Amy King 3 years ago
committed by Jonathan Druart
parent
commit
f8b02439ab
  1. 3
      koha-tmpl/intranet-tmpl/prog/en/modules/authorities/merge.tt

3
koha-tmpl/intranet-tmpl/prog/en/modules/authorities/merge.tt

@ -46,8 +46,7 @@ div#result { margin-top: 1em; }
[% ELSIF ( result ) %] [% ELSIF ( result ) %]
<script>window.location.href="/cgi-bin/koha/authorities/detail.pl?authid=[% recordid1 | html %]";</script> <p>The merging was successful. <a href="/cgi-bin/koha/authorities/detail.pl?authid=[% recordid1 | uri %]">View the merged record.</a></p>
<p>The merging was successful. <a href="/cgi-bin/koha/authorities/detail.pl?authid=[% recordid1 | uri %]">Click here to see the merged record.</a></p>
[% ELSIF ( choosereference ) %] [% ELSIF ( choosereference ) %]

Loading…
Cancel
Save