Bugzilla – Attachment 6306 Details for
Bug 7220
Add IDs to check-in message dialogs to facilitate CSS customization
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch against koha community master to add ids to return message dialogs
returns-ids-kc.patch (text/plain), 4.77 KB, created by
Chris Hall
on 2011-11-14 20:46:09 UTC
(
hide
)
Description:
patch against koha community master to add ids to return message dialogs
Filename:
MIME Type:
Creator:
Chris Hall
Created:
2011-11-14 20:46:09 UTC
Size:
4.77 KB
patch
obsolete
>From 418158fd9535adbf541fa67cee85fc283293ab5f Mon Sep 17 00:00:00 2001 >From: Chris Hall <chrish@catalyst.net.nz> >Date: Mon, 14 Nov 2011 15:38:01 +1300 >Subject: [PATCH] made appropriate changes so that user can customise the display of messages on the returns page as per wr87151 > >--- > .../intranet-tmpl/prog/en/modules/circ/returns.tt | 16 ++++++++-------- > 1 files changed, 8 insertions(+), 8 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt >index 4224ab1..1b0adfc 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt >@@ -55,7 +55,7 @@ function Dopop(link) { > <div class="yui-g"> > > [% IF ( collectionItemNeedsTransferred ) %] >- <div class="dialog message">This item is part of a Rotating Collection and needs to be Transferred to [% collectionBranch %]</div> >+ <div id="rotating-collection" class="dialog message">This item is part of a Rotating Collection and needs to be Transferred to [% collectionBranch %]</div> > [% END %] > > <!-- Patron has fines --> >@@ -68,7 +68,7 @@ function Dopop(link) { > > <!-- Patron has waiting holds --> > [% IF ( waiting_holds ) %] >- <div class="dialog message"> >+ <div id="awaiting-pickup" class="dialog messagem> > <h3>[% holdsfirstname %] [% holdssurname %] has [% waiting_holds %] hold(s) waiting for pickup.</h3> > <p><a href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% holdsborrowernumber %]">Check out to this patron</a>.</p> > </div> >@@ -80,7 +80,7 @@ function Dopop(link) { > </div> > [% END %] > <!-- case of a mistake in transfer loop --> >-[% IF ( WrongTransfer ) %]<div class="dialog message"><!-- WrongTransfer --><h3>Please return <a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&biblionumber=[% itembiblionumber %]">[% title |html %]</a> to [% TransferWaitingAt %] or <a href="/cgi-bin/koha/circ/returns.pl?itemnumber=[% itemnumber %]&canceltransfer=1">Cancel Transfer</a></h3> >+[% IF ( WrongTransfer ) %]<div id="return2" class="dialog message"><!-- WrongTransfer --><h3>Please return <a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&biblionumber=[% itembiblionumber %]">[% title |html %]</a> to [% TransferWaitingAt %] or <a href="/cgi-bin/koha/circ/returns.pl?itemnumber=[% itemnumber %]&canceltransfer=1">Cancel Transfer</a></h3> > [% IF ( wborcnum ) %]<h5>Hold for:</h5> > <ul><li><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber %]"> > [% borsurname %], [% borfirstname %]</a> ([% borcnum %])</li> >@@ -111,7 +111,7 @@ function Dopop(link) { > <audio src="/intranet-tmpl/prog/sound/ending.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio> > [% END %] > >-<div class="dialog message"> >+<div id="hold-found1" class="dialog message"> > <h3>Hold Found (item is already waiting): <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% itembiblionumber %]">[% title |html %]</a></h3> > [% IF ( reservenotes ) %]<h4>Notes: [% reservenotes %]</h4>[% END %] > <h4>Hold for:</h4> >@@ -150,7 +150,7 @@ function Dopop(link) { > > [% IF ( diffbranch ) %] > <!-- diffbranch --> >- <div class="dialog message"> >+ <div id="transfer-needed" class="dialog message"> > <h3>Hold needing transfer found: <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% itembiblionumber %]">[% title |html %]</a></h3> > <h4>Hold for: </h4> > <ul> >@@ -187,12 +187,12 @@ function Dopop(link) { > > [% IF ( transfer ) %] > <!-- transfer: item with no reservation, must be returned to its homebranch --> >- <div class="dialog message"> >+ <div id="return1" class="dialog message"> > <h3>Please return <a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&biblionumber=[% itembiblionumber %]">[% title or "item" |html %]</a> to [% homebranchname %]</h3></div>[% END %] > > [% IF ( needstransfer ) %] > <!-- needstransfer --> >- <div class="dialog message"><h3> This item needs to be transferred to [% homebranchname %]</h3> >+ <div id="item-transfer" class="dialog message"><h3> This item needs to be transferred to [% homebranchname %]</h3> > Transfer Now?<br /> > <form method="post" action="returns.pl" name="mainform" id="mainform"> > <input type="submit" name="dotransfer" value="Yes" class="submit" /> >@@ -241,7 +241,7 @@ function Dopop(link) { > <audio src="/intranet-tmpl/prog/sound/opening.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio> > [% END %] > >- <div class="dialog message"> >+ <div id="hold-found2" class="dialog message"> > <h3>Hold Found: <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% itembiblionumber %]">[% title |html %]</a></h3> > [% IF ( reservenotes ) %]<h4>Notes: [% reservenotes %]</h4>[% END %] > <h5>Hold for:</h5> >-- >1.7.4.1 >
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 7220
:
6301
|
6306
|
6918
|
6957
|
8236