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 <kyle@bywatersolutions.com>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Patch makes display more consistent and passes all tests.
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
This commit is contained in:
Fridolyn SOMERS 2013-03-06 11:21:22 +01:00 committed by Jared Camins-Esakov
parent 2f3f5d9a3c
commit 87540aefbc
1 changed files with 7 additions and 5 deletions

View File

@ -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 ) %]