From 44c6ca818b7d383cf6fb01e44621a923aba3f506 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 --- 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 f092ea8..0c4180c 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.8.1