From 2c971d88e2340f0e013a2deaf9b5827cf41f6fe8 Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Tue, 3 Aug 2021 21:24:17 +0000 Subject: [PATCH] Bug 28810: replace housebould detail inputs with textarea To test: 1. apply patch 2. enable housebound module 3. go to a patron and look at the housebound tab 4. Edit the detials. 5. The preferred materials, subjects, authors, referral, and note inputs should be replace with much larger textareas. 6. You should now be able to added line breaks, so fill out each of the fields adding some line breaks. I added something like: Fiction authors: Frank Herbert Non-fiction authors: Malcolm Gladwell 7. Save changes 8. Now when you look at the housebound details those line breaks should be preserved and much easier to read. --- .../prog/en/modules/members/housebound.tt | 45 +++++++++---------- 1 file changed, 20 insertions(+), 25 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/housebound.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/housebound.tt index f494bd8cab..51488f2d59 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/housebound.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/housebound.tt @@ -151,46 +151,41 @@
  • [% IF ( housebound_profile ) %] - + [% ELSE %] - + [% END %]
  • [% IF ( housebound_profile ) %] - + [% ELSE %] - + [% END %]
  • [% IF ( housebound_profile ) %] - + [% ELSE %] - + [% END %]
  • [% IF ( housebound_profile ) %] - + [% ELSE %] - + [% END %]
  • [% IF ( housebound_profile ) %] - + [% ELSE %] - + [% END %]
  • @@ -360,24 +355,24 @@ [% AuthorisedValues.GetByCode( 'HSBND_FREQ', housebound_profile.frequency, 0 ) || housebound_profile.frequency | html %]
  • - Material: - [% housebound_profile.fav_itemtypes | html %] + Material:
    + [% housebound_profile.fav_itemtypes | html | html_line_break %]
  • - Subjects: - [% housebound_profile.fav_subjects | html %] + Subjects:
    + [% housebound_profile.fav_subjects | html | html_line_break %]
  • - Authors: - [% housebound_profile.fav_authors | html %] + Authors:
    + [% housebound_profile.fav_authors | html | html_line_break %]
  • - Referral: - [% housebound_profile.referral | html %] + Referral:
    + [% housebound_profile.referral | html | html_line_break %]
  • - Notes: - [% housebound_profile.notes | html %] + Notes:
    + [% housebound_profile.notes | html | html_line_break %]
  • -- 2.20.1