From 8a2cfbeee72152b9424276fb2b8e21b08b4f23fb Mon Sep 17 00:00:00 2001 From: Fridolyn SOMERS <fridolyn.somers@biblibre.com> 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 ">" --- .../intranet-tmpl/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 9df6d04..868334f 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 ) %]<div class="dialog message">Patron's account has been renewed until [% dateexpiry %]</div>[% END %] [% IF ( flagged ) %] - <ul> + <div id="circmessages" class="circmessage attention"> + <ul> [% IF ( userdebarred ) %] - <li>Patron is restricted[% IF ( userdebarreddate ) %] until [% userdebarreddate%] [% IF (debarredcomment ) %]([% debarredcomment %])[% END %][% END %] + <li class="blocker">Patron is restricted[% IF ( userdebarreddate ) %] until [% userdebarreddate%] [% IF (debarredcomment ) %]([% debarredcomment %])[% END %][% END %] <form class="inline compact" action="/cgi-bin/koha/members/setdebar.pl" method="post"> <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" /> <input type="submit" value="Lift restriction" /> </form> </li> [% END %] - [% IF ( gonenoaddress ) %]<li>Patron's address is in doubt.</li>[% END %] - [% IF ( lost ) %]<li>Patron's card has been reported lost.</li>[% END %] - </ul> + [% IF ( gonenoaddress ) %]<li class="blocker">Patron's address is in doubt.</li>[% END %] + [% IF ( lost ) %]<li class="blocker">Patron's card has been reported lost.</li>[% END %] + </ul> + </div> [% END %] <h3>[% UNLESS ( I ) %] -- 1.7.10.4