From 1d016b58c5e02f9212f200eefcb8a3ee1c5444c9 Mon Sep 17 00:00:00 2001 From: Aleisha Date: Wed, 23 Mar 2016 03:44:53 +0000 Subject: [PATCH] Bug 16131: Messages for branch transfers show with bullet points MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This patches removes the list code from the messages To test: 1) Attempt to transfer an item to its home library. Confirm no bullet point in message 2) Check out an item to a user. Attempt to transfer the same item. Confirm no bullet point in message 3) Set syspref BranchTransferLimitsType to Enforce for item types. Go to Admin -> Library transfer limits and select a library (Library B) other than your home library (Library A). Uncheck all options. Go back to branch transfers and attempt to transfer an item from Library A to Library B. Confirm no bullet point in message. Sponsored-by: Catalyst IT Signed-off-by: Marc VĂ©ron --- .../prog/en/modules/circ/branchtransfers.tt | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchtransfers.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchtransfers.tt index e2916d9..a445c25 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchtransfers.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchtransfers.tt @@ -104,16 +104,15 @@ [% IF ( errmsgloop ) %]
-
    [% FOREACH errmsgloo IN errmsgloop %] [% IF ( errmsgloo.errbadcode ) %] -
  • No Item with barcode: [% errmsgloo.msg %]
  • + No item with barcode: [% errmsgloo.msg %] [% END %] [% IF ( errmsgloo.errispermanent ) %] -
  • Please return item to home library: [% errmsgloo.msg %]
  • + Please return item to home library: [% errmsgloo.msg %] [% END %] [% IF ( errmsgloo.errnotallowed ) %] -
  • Transfer is not allowed for: + Transfer is not allowed for:
      [% IF ( Koha.Preference('BranchTransferLimitsType') == 'itemtype' ) %]
    1. Item type: [% ItemTypes.GetDescription( errmsgloo.code ) %]
    2. @@ -122,18 +121,16 @@ [% END %]
    3. Destination library: [% errmsgloo.tbr %]
    -
  • [% END %] [% IF ( errmsgloo.errdesteqholding ) %] -
  • Item is already at destination library.
  • + Item is already at destination library. [% END %] [% IF ( errmsgloo.errwasreturned ) %] -
  • Item was on loan to + Item was on loan to [% errmsgloo.firstname %] [% errmsgloo.surname %] - ([% errmsgloo.cardnumber %]) and has been returned.
  • + ([% errmsgloo.cardnumber %]) and has been returned. [% END %] [% END %] -
[% END %] -- 1.7.10.4