From 87540aefbcdda848bcca6211b3dea7fd8be94ec1 Mon Sep 17 00:00:00 2001 From: Fridolyn SOMERS Date: Wed, 6 Mar 2013 11:21:22 +0100 Subject: [PATCH] Bug 9751: Patron flags red in moremember.pl like in circulation.pl In a patron detail page (moremember.pl), when looking at a patron with one or more flags. Click on Check out tab and look at circulation page : flags are red. It is more attractive for librarian. This patch add CSS classes to patron flags in moremember.pl so they look more like circulation.pl : - red color - custom list bullets Test plan ; - Set to a patron all flags. - Go to detail page of this patron => Check all flags are red and bullets are like ">" Signed-off-by: Kyle M Hall Signed-off-by: Katrin Fischer Patch makes display more consistent and passes all tests. Signed-off-by: Jared Camins-Esakov --- .../prog/en/modules/members/moremember.tt | 12 +++++++----- 1 file changed, 7 insertions(+), 5 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 9df6d04021..868334f450 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt @@ -184,18 +184,20 @@ function validate1(date) { [% IF ( reregistration ) %]
Patron's account has been renewed until [% dateexpiry %]
[% END %] [% IF ( flagged ) %] -
    +
    +
      [% IF ( userdebarred ) %] -
    • Patron is restricted[% IF ( userdebarreddate ) %] until [% userdebarreddate%] [% IF (debarredcomment ) %]([% debarredcomment %])[% END %][% END %] +
    • Patron is restricted[% IF ( userdebarreddate ) %] until [% userdebarreddate%] [% IF (debarredcomment ) %]([% debarredcomment %])[% END %][% END %]
    • [% END %] - [% IF ( gonenoaddress ) %]
    • Patron's address is in doubt.
    • [% END %] - [% IF ( lost ) %]
    • Patron's card has been reported lost.
    • [% END %] -
    + [% IF ( gonenoaddress ) %]
  • Patron's address is in doubt.
  • [% END %] + [% IF ( lost ) %]
  • Patron's card has been reported lost.
  • [% END %] +
+ [% END %]

[% UNLESS ( I ) %] -- 2.39.2