From ce6898655e8e01e8505c5b7746f028b3386b8715 Mon Sep 17 00:00:00 2001 From: Paul Poulain Date: Thu, 13 Sep 2012 11:22:58 +0200 Subject: [PATCH] Bug 8431 follow-up : |html_line_break in 2 tempates if the attribute is in more than 1 line, we must add |html_line_break to display it properly Doing that in member details (staff & opac) --- koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt | 2 +- koha-tmpl/opac-tmpl/prog/en/modules/opac-userupdate.tt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt index 11bb33f52f..a5530b33bd 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt @@ -302,7 +302,7 @@ function validate1(date) { [% IF ( item.value_description ) %] [% item.value_description %] [% ELSE %] - [% item.value %] + [% item.value| html_line_break %] [% END %] [% END %] diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-userupdate.tt b/koha-tmpl/opac-tmpl/prog/en/modules/opac-userupdate.tt index b903e4d596..82cfaa21c4 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-userupdate.tt +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-userupdate.tt @@ -89,9 +89,9 @@ [% FOREACH patron_attribute IN BORROWER_INF.patron_attributes %]
  • [% IF ( patron_attribute.value_description ) %] - + [% patron_attribute.value_description %]" [% ELSE %] - + [% patron_attribute.value |html_line_break %] [% END %]
  • [% END %] -- 2.39.5