Bugzilla – Attachment 34254 Details for
Bug 13315
Add feedback for last item checked out to circulation.pl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED-OFF] Bug 13315 [Follow-up] Add feedback for last item checked out to circulation.pl
SIGNED-OFF-Bug-13315-Follow-up-Add-feedback-for-la.patch (text/plain), 3.70 KB, created by
Kyle M Hall (khall)
on 2014-12-09 20:02:14 UTC
(
hide
)
Description:
[SIGNED-OFF] Bug 13315 [Follow-up] Add feedback for last item checked out to circulation.pl
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2014-12-09 20:02:14 UTC
Size:
3.70 KB
patch
obsolete
>From 6290b74a752f3b0d6444e37a1d1046b4006388d1 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Tue, 9 Dec 2014 10:01:12 -0500 >Subject: [PATCH] [SIGNED-OFF] Bug 13315 [Follow-up] Add feedback for last item checked out to circulation.pl > >This patch changes the position and styling of the information about the >last checkout so that it is grouped with the checkout form itself, >placing the message in a more visible position, especially for patrons >with a lot of information in the right-hand messages column which might >push the checkouts table down offscreen. > >To test, apply the patch and clear your browser cache in order to >refresh the main CSS file. > >Check out an item and confirm that a message is prominently displayed. > >Signed-off-by: Jason Burds <jburds@dubuque.lib.ia.us> >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >--- > .../intranet-tmpl/prog/en/css/staff-global.css | 13 +++++++++++++ > .../prog/en/modules/circ/circulation.tt | 19 +++++++++++++------ > 2 files changed, 26 insertions(+), 6 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 5eb6aab2..fa5d596 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css >+++ b/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css >@@ -327,6 +327,13 @@ fieldset { > border-radius:5px; > } > >+fieldset.lastchecked { >+ margin-bottom : 0; >+ border-bottom-width: 0; >+ border-bottom-left-radius: 0; >+ border-bottom-right-radius: 0; >+} >+ > legend { > font-size : 123.1%; > font-weight : bold; >@@ -2740,4 +2747,10 @@ span.onsite_checkout { > background-color : rgba(255, 242, 206, 0.5); > border-radius: 4px; > border : 1px solid #FFF2CE; >+} >+div.lastchecked { >+ padding : .2em 1em; >+ border: 2px solid #BCDB89; >+ border-bottom-left-radius: 5px; >+ border-bottom-right-radius: 5px; > } >\ No newline at end of file >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 576066d..ecbca56 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt >@@ -517,7 +517,11 @@ No patron matched <span class="ex">[% message %]</span> > > > <form method="post" action="/cgi-bin/koha/circ/circulation.pl" id="mainform" name="mainform" autocomplete="off"> >-<fieldset id="circ_circulation_issue"> >+[% IF ( issue ) %] >+ <fieldset id="circ_circulation_issue" class="lastchecked"> >+[% ELSE %] >+ <fieldset id="circ_circulation_issue"> >+[% END %] > [% IF ( DisplayClearScreenButton ) %] > <span id="clearscreen"><a href="/cgi-bin/koha/circ/circulation.pl" title="Clear screen">x</a></span> > [% END %] >@@ -588,7 +592,14 @@ No patron matched <span class="ex">[% message %]</span> > <input type="hidden" name="oldamount" value="[% amountold %]" /> > [% END %] > </fieldset> >-</form></div>[% END %]<!-- /unless noissues --> >+[% IF ( issue ) %] >+ <div class="lastchecked"> >+ <p><strong>Checked out: </strong>[% issue.item.biblio.title %] ([% issue.item.barcode %]). Due on [% issue.date_due | $KohaDates %]</p> >+ </div> >+[% END %] >+</form></div> >+ >+[% END %]<!-- /unless noissues --> > > [% IF ( noissues ) %] > [% IF ( Koha.Preference('OnSiteCheckouts') && Koha.Preference('OnSiteCheckoutsForce') ) %] >@@ -752,10 +763,6 @@ No patron matched <span class="ex">[% message %]</span> > > </div> > </div> >-[% IF ( issue ) %] >- <div class="dialog message">[% issue.item.biblio.title %] ([% issue.item.barcode %]) due on [% issue.date_due | $KohaDates %]</div> >-[% END %] >- > > <div class="yui-g"><div id="patronlists" class="toptabs"> > >-- >1.7.2.5
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 13315
:
33764
|
33765
|
34250
|
34251
|
34253
|
34254
|
34384
|
34385
|
36290
|
36291
|
36292
|
37776