@@ -, +, @@ --- koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt +++ a/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 %] --