From 1558b56db953d82d040c75f74f415876dc803410 Mon Sep 17 00:00:00 2001 From: Andreas Roussos Date: Sat, 17 Sep 2016 13:44:47 +0300 Subject: [PATCH] Bug 17310 - Broken URLs in 'Item renewed' / 'Cannot renew' messages In the Staff client, under Circulation > Renew, the message shown after successful renewal of an item contains broken URLs. This is also true for the message shown when you try to renew an item that is not checked out. This patch fixes that. Test plan: 1) Go to Circulation > Renew, and search for the barcode of a checked-out item. In the 'Item renewed:' confirmation message, notice how the URLs for the title and the barcode are broken. 2) Now search for the barcode of an item that is not checked out. In the 'Cannot renew:' message, notice how the URLs are broken here too. 3) Apply the patch. 4) Repeat steps 1) and 2). This time the URLs work fine. --- koha-tmpl/intranet-tmpl/prog/en/modules/circ/renew.tt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/renew.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/renew.tt index 7c481f4..947767d 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/renew.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/renew.tt @@ -39,7 +39,7 @@ [% ELSIF error == "no_checkout" %] -

[% item.biblio.title %] [% item.biblioitem.subtitle %] ( [% item.barcode %] ) is not checked out to a patron.

+

[% item.biblio.title %] [% item.biblioitem.subtitle %] ( [% item.barcode %] ) is not checked out to a patron.

[% ELSIF error == "too_many" %] @@ -120,8 +120,8 @@

Item renewed:

- [% item.biblio.title %] [% item.biblioitem.subtitle %] - ( [% item.barcode %] ) + [% item.biblio.title %] [% item.biblioitem.subtitle %] + ( [% item.barcode %] ) renewed for [% borrower.firstname %] [% borrower.surname %] ( [% borrower.cardnumber %] ) now due on [% date_due | $KohaDates %] -- 2.1.4