From edec5921b11afcbda44fbb6c45f26174768b1708 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Fri, 20 May 2016 16:29:01 +0100 Subject: [PATCH] Bug 9543: Separate MTT with commas Signed-off-by: Jonathan Druart Signed-off-by: Brendan Gallagher --- koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt index f092ea83ad..0c4180c492 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt @@ -10,9 +10,10 @@ [% IF ( bormessagepref ) %]
  • Patron notification: [% FOREACH mtt IN bormessagepref.keys %] - [% IF ( mtt == 'email' ) %] Email. [% END %] - [% IF ( mtt == 'phone' ) %] Phone. [% END %] - [% IF ( mtt == 'sms' ) %] SMS. [% END %] + [%~ IF ( mtt == 'email' ) %] Email[% END ~%] + [%~ IF ( mtt == 'phone' ) %] Phone[% END ~%] + [%~ IF ( mtt == 'sms' ) %] SMS[% END ~%] + [%~ UNLESS loop.last %], [% ELSE %].[% END ~%] [% END %]
  • [% ELSE %] -- 2.39.5