Bug 20295: Allow translating link title in ILL module
authorPasi Kallinen <pasi.kallinen@joensuu.fi>
Mon, 26 Feb 2018 09:10:10 +0000 (11:10 +0200)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 27 Feb 2018 16:48:17 +0000 (13:48 -0300)
Allow translating "View borrower details" link title in the ILL module.

Signed-off-by: Pasi Kallinen <pasi.kallinen@joensuu.fi>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt

index c21fc97..aab9a75 100644 (file)
 
         // Our 'render' function for borrowerlink
         var createPatronLink = function(data, type, row) {
-            return '<a title="View borrower details" ' +
+            return '<a title="' + _("View borrower details") + '" ' +
                 'href="/cgi-bin/koha/members/moremember.pl?' +
                 'borrowernumber='+row.borrowernumber+'">' +
                 row.patron_firstname + ' ' + row.patron_surname +