From a17e9712507b2f30b232503747cee4c5daa274ab Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Wed, 25 May 2011 08:54:59 -0400 Subject: [PATCH] Fix for Bug 6377 - fines should be red on patron search Adding classes for credit (green) and debit (red) Signed-off-by: Nicole C. Engard Signed-off-by: Chris Cormack --- koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css | 7 +++++-- koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css b/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css index d1dffa8b41..09f00b4bce 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css +++ b/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css @@ -17,7 +17,9 @@ a:hover { color : #669ACC; } -a.overdue,.overdue { +a.overdue, +.overdue, +.debit { color : #cc0000; } @@ -1731,7 +1733,8 @@ tr.reserved td { tr.transfered td { background-color : #e8f0f6; } -.waitinghere { +.waitinghere, +.credit { color : #669900; } diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt index 9965362594..85b1d3efa6 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt @@ -65,7 +65,7 @@ [% resultsloo.branchcode %] [% resultsloo.dateexpiry %] [% IF ( resultsloo.overdues ) %][% resultsloo.overdues %][% ELSE %][% resultsloo.overdues %][% END %]/[% resultsloo.issues %] - [% resultsloo.fines %] + [% IF ( resultsloo.fines < 0 ) %][% resultsloo.fines %] [% ELSIF resultsloo.fines > 0 %] [% resultsloo.fines %] [% ELSE %] [% resultsloo.fines %] [% END %] [% resultsloo.borrowernotes %] [% IF ( resultsloo.category_type ) %] Edit -- 2.39.5