From 3b3179a2145224d2f90a23dbe1d4d65df73f0279 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 10 Dec 2019 12:27:08 +0100 Subject: [PATCH] Bug 24008: Display warnings in a list Signed-off-by: Martin Renvoize Signed-off-by: Katrin Fischer Signed-off-by: Martin Renvoize --- .../prog/en/modules/members/deletemem.tt | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/deletemem.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/deletemem.tt index 9dec86c37e..776de69ba4 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/deletemem.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/deletemem.tt @@ -37,14 +37,18 @@ [% ELSIF op == 'delete_confirm' and patron %] [%# TODO add "patron does not exist" unless patron %]
- [% IF ( ItemsOnHold ) %] -

Patron has [% ItemsOnHold | html %] hold(s). Deleting patron cancels all their holds.


+ [% IF ItemsOnHold or credits %] +
    + [% IF ItemsOnHold %] +
  • Patron has [% ItemsOnHold | html %] hold(s). Deleting patron cancels all their holds.
  • + [% END %] + [% IF credits %] +
  • Patron has a [% credits | $Price %] credit.
  • + [% END %] +
      [% END %]

      Are you sure you want to delete the patron [% patron.firstname | html %] [% patron.surname | html %]? This cannot be undone.

      - [% IF credits %] -

      Patron has a [% credits | $Price %] credit.

      - [% END %]
      -- 2.39.5