projects
/
koha_fer
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bug 10513: display a warning/message when returning a chosen item type
[koha_fer]
/
koha-tmpl
/
intranet-tmpl
/
prog
/
en
/
modules
/
circ
/
returns.tt
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
7fd8d1d
..
1ee9efe
100644
(file)
--- a/
koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt
+++ b/
koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt
@@
-120,7
+120,7
@@
$(document).ready(function () {
<!-- waiting -->
[% IF ( soundon ) %]
<!-- waiting -->
[% IF ( soundon ) %]
-<audio src="
/intranet-tmpl/prog
/sound/ending.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
+<audio src="
[% interface %]/[% theme %]
/sound/ending.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
[% END %]
<div id="hold-found1" class="dialog message">
[% END %]
<div id="hold-found1" class="dialog message">
@@
-163,7
+163,7
@@
$(document).ready(function () {
[% IF ( diffbranch ) %]
<!-- diffbranch -->
[% IF ( soundon ) %]
[% IF ( diffbranch ) %]
<!-- diffbranch -->
[% IF ( soundon ) %]
- <audio src="
/intranet-tmpl/prog
/sound/opening.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
+ <audio src="
[% interface %]/[% theme %]
/sound/opening.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
[% END %]
<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>
[% END %]
<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>
@@
-206,14
+206,14
@@
$(document).ready(function () {
<h3>Please return <a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&biblionumber=[% itembiblionumber %]">[% title or "item" |html %]</a> to [% homebranchname %]<br/>( <a href="#" onclick="Dopop('transfer-slip.pl?transferitem=[% itemnumber %]&branchcode=[% homebranch %]&op=slip'); return true;">Print slip</a> )</h3>
</div>
[% IF ( soundon ) %]
<h3>Please return <a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&biblionumber=[% itembiblionumber %]">[% title or "item" |html %]</a> to [% homebranchname %]<br/>( <a href="#" onclick="Dopop('transfer-slip.pl?transferitem=[% itemnumber %]&branchcode=[% homebranch %]&op=slip'); return true;">Print slip</a> )</h3>
</div>
[% IF ( soundon ) %]
- <audio src="
/intranet-tmpl/prog
/sound/opening.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
+ <audio src="
[% interface %]/[% theme %]
/sound/opening.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
[% END %]
[% END %]
[% IF ( needstransfer ) %]
<!-- needstransfer -->
[% IF ( soundon ) %]
[% END %]
[% END %]
[% IF ( needstransfer ) %]
<!-- needstransfer -->
[% IF ( soundon ) %]
- <audio src="
/intranet-tmpl/prog
/sound/opening.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
+ <audio src="
[% interface %]/[% theme %]
/sound/opening.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
[% END %]
<div id="item-transfer" class="dialog message"><h3> This item needs to be transferred to [% homebranchname %]</h3>
Transfer now?<br />
[% END %]
<div id="item-transfer" class="dialog message"><h3> This item needs to be transferred to [% homebranchname %]</h3>
Transfer now?<br />
@@
-239,7
+239,7
@@
$(document).ready(function () {
[% IF ( diffbranch ) %]
<!-- diffbranch -->
[% IF ( soundon ) %]
[% IF ( diffbranch ) %]
<!-- diffbranch -->
[% IF ( soundon ) %]
- <audio src="
/intranet-tmpl/prog
/sound/opening.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
+ <audio src="
[% interface %]/[% theme %]
/sound/opening.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
[% END %]
<h3>Item consigned:</h3>
<table>
[% END %]
<h3>Item consigned:</h3>
<table>
@@
-267,7
+267,7
@@
$(document).ready(function () {
<!-- reserved -->
[% IF ( soundon ) %]
<!-- reserved -->
[% IF ( soundon ) %]
- <audio src="
/intranet-tmpl/prog
/sound/opening.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
+ <audio src="
[% interface %]/[% theme %]
/sound/opening.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
[% END %]
<div id="hold-found2" class="dialog message">
[% END %]
<div id="hold-found2" class="dialog message">
@@
-313,10
+313,11
@@
$(document).ready(function () {
</form>
</div>
[% END %]
</form>
</div>
[% END %]
-[% E
LSE
%]
+[% E
ND
%]
[% IF ( errmsgloop ) %]
<div class="dialog alert">
[% IF ( errmsgloop ) %]
<div class="dialog alert">
+ <h3>Check in message</h3>
[% FOREACH errmsgloo IN errmsgloop %]
[% IF ( errmsgloo.badbarcode ) %]
<p class="problem">No item with barcode: [% errmsgloo.msg %]</p>
[% FOREACH errmsgloo IN errmsgloop %]
[% IF ( errmsgloo.badbarcode ) %]
<p class="problem">No item with barcode: [% errmsgloo.msg %]</p>
@@
-340,7
+341,7
@@
$(document).ready(function () {
[% END %]
[% IF ( errmsgloo.withdrawn ) %]
[% IF BlockReturnOfWithdrawnItems %]
[% END %]
[% IF ( errmsgloo.withdrawn ) %]
[% IF BlockReturnOfWithdrawnItems %]
- <h
3>Cannot Check In</h3
>
+ <h
5>Cannot check in</h5
>
<p class="problem">Item is withdrawn. <strong>NOT CHECKED IN</strong></p>
[% ELSE %]
<p class="problem">Item is withdrawn.</p>
<p class="problem">Item is withdrawn. <strong>NOT CHECKED IN</strong></p>
[% ELSE %]
<p class="problem">Item is withdrawn.</p>
@@
-351,15
+352,24
@@
$(document).ready(function () {
[% END %]
[% END %]
[% IF ( soundon ) %]
[% END %]
[% END %]
[% IF ( soundon ) %]
-<audio src="
/intranet-tmpl/prog
/sound/critical.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
+<audio src="
[% interface %]/[% theme %]
/sound/critical.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
[% END %]
[% ELSE %]
[% IF ( soundon ) %]
[% END %]
[% ELSE %]
[% IF ( soundon ) %]
-<audio src="
/intranet-tmpl/prog
/sound/beep.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
+<audio src="
[% interface %]/[% theme %]
/sound/beep.ogg" autoplay="autoplay" autobuffer="autobuffer"></audio>
[% END %]
[% END %]
</div>
[% END %]
[% END %]
</div>
-[% END %]
+
+[% IF ( checkinmsg ) %]
+ [% IF ( checkinmsgtype == 'alert' ) %]
+ <div class="dialog alert">
+ [% ELSE %]
+ <div class="dialog message">
+ [% END %]
+ <p class="problem">[% checkinmsg %]</p>
+ </div>
+[% END%]
<div id="exemptfines" class="dialog message" style="display:none;">
<p>Fines for returned items are forgiven.</p>
<div id="exemptfines" class="dialog message" style="display:none;">
<p>Fines for returned items are forgiven.</p>