Bugzilla – Attachment 104608 Details for
Bug 25430
Improve the styling of the claims returned tab
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 25430: Improve the styling of the claims returned tab
Bug-25430-Improve-the-styling-of-the-claims-return.patch (text/plain), 5.34 KB, created by
Kyle M Hall (khall)
on 2020-05-08 17:17:58 UTC
(
hide
)
Description:
Bug 25430: Improve the styling of the claims returned tab
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2020-05-08 17:17:58 UTC
Size:
5.34 KB
patch
obsolete
>From d1999902e76a41530b0a0be0a860e4ea9cbc076d Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Fri, 8 May 2020 13:15:40 -0400 >Subject: [PATCH] Bug 25430: Improve the styling of the claims returned tab > >It has been suggested that it would be useful to add title attributes to the different numbers on the return claims tab in the checkouts and patron details pages. In addition, color coding them ( and removing the slash ) will make the numbers easier to read. > >Test Plan: >1) Set up return claims for your system >2) Apply this patch >3) View the claims tab for someone with not claims, and someone with claims >4) Note the resolved claims are green and have a "tooltip" when hovered over >5) Note the unresolved claims are green if 0, and yellow if not 0, and > also have a "tooltip" >--- > .../intranet-tmpl/prog/en/modules/circ/circulation.tt | 10 ++++------ > .../prog/en/modules/members/moremember.tt | 10 ++++------ > 2 files changed, 8 insertions(+), 12 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt >index 7423164850..358102d317 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt >@@ -873,17 +873,15 @@ > <li> > [% IF ( patron.return_claims.count ) %] > <a href="#return-claims" id="return-claims-tab"> >- <span id="return-claims-count-resolved">[% patron.return_claims.resolved.count | html %]</span> >- / >- <span id="return-claims-count-unresolved">[% patron.return_claims.unresolved.count | html %]</span> > Claim(s) >+ <span title="Resolved claims" class="label label-success" id="return-claims-count-resolved">[% patron.return_claims.resolved.count | html %]</span> >+ <span title="Unresolved claims" class="label label-warning" id="return-claims-count-unresolved">[% patron.return_claims.unresolved.count | html %]</span> > </a> > [% ELSE %] > <a href="#return-claims" id="return-claims-tab"> >- <span id="return-claims-count-resolved">0</span> >- / >- <span id="return-claims-count-unresolved">0</span> > Claim(s) >+ <span title="Resolved claims" class="label label-success" id="return-claims-count-resolved">0</span> >+ <span title="Unresolved claims" class="label label-success" id="return-claims-count-unresolved">0</span> > </a> > [% END %] > </li> >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 8321edef92..4603bcbdf7 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt >@@ -732,17 +732,15 @@ > <li> > [% IF ( patron.return_claims.count ) %] > <a href="#return-claims" id="return-claims-tab"> >- <span id="return-claims-count-resolved">[% patron.return_claims.resolved.count | html %]</span> >- / >- <span id="return-claims-count-unresolved">[% patron.return_claims.unresolved.count | html %]</span> > Claim(s) >+ <span title="Resolved claims" class="label label-success" id="return-claims-count-resolved">[% patron.return_claims.resolved.count | html %]</span> >+ <span title="Unresolved claims" class="label label-warning" id="return-claims-count-unresolved">[% patron.return_claims.unresolved.count | html %]</span> > </a> > [% ELSE %] > <a href="#return-claims" id="return-claims-tab"> >- <span id="return-claims-count-resolved">0</span> >- / >- <span id="return-claims-count-unresolved">0</span> > Claim(s) >+ <span title="Resolved claims" class="label label-success" id="return-claims-count-resolved">0</span> >+ <span title="Unresolved claims" class="label label-success" id="return-claims-count-unresolved">0</span> > </a> > [% END %] > </li> >-- >2.24.2 (Apple Git-127)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 25430
:
104608
|
106211
|
108350
|
108521
|
108629