fix for disappearing dropbox mode checkbox on returns screen

This makes the 'dropbox mode' checkbox appear unconditionally.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
This commit is contained in:
Jesse Weaver 2008-07-17 12:43:56 -05:00 committed by Joshua Ferraro
parent 8510d2664d
commit 0bb715b7ed
2 changed files with 34 additions and 26 deletions

View file

@ -444,6 +444,10 @@ div.patronviews {
padding : .5em 0 .5em 0; padding : .5em 0 .5em 0;
} }
.column-tool {
font-size: 80%;
}
fieldset.brief { fieldset.brief {
border : 1px solid #E8E8E8; border : 1px solid #E8E8E8;
} }
@ -1573,4 +1577,4 @@ span.permissiondesc {
border : 1px solid #E8E8E8; border : 1px solid #E8E8E8;
margin-top : .5em; margin-top : .5em;
padding : .5em; padding : .5em;
} }

View file

@ -264,7 +264,7 @@ function Dopop(link) {
</div> </div>
<div class="yui-g"> <div class="yui-g">
<form method="post" action="/cgi-bin/koha/circ/returns.pl" > <form method="post" action="/cgi-bin/koha/circ/returns.pl" >
<!-- TMPL_IF NAME="overduecharges" --><div class="yui-u first"><!-- /TMPL_IF --> <div class="yui-u first">
<fieldset> <fieldset>
<legend>Check In</legend> <legend>Check In</legend>
<label for="barcode">Enter item barcode: </label> <label for="barcode">Enter item barcode: </label>
@ -284,31 +284,35 @@ function Dopop(link) {
</fieldset> </fieldset>
<!-- TMPL_IF NAME="overduecharges" --> </div>
</div> <div class="yui-u">
<div class="yui-u"> <fieldset id="checkin_options">
<fieldset id="checkin_options"> <legend>Options</legend>
<legend>Options</legend>
<ul> <li> <ul>
<!-- TMPL_IF NAME="exemptfine" --> <!-- TMPL_IF NAME="overduecharges" -->
<input type="checkbox" id="exemptcheck" name="exemptfine" value="exemptfine" checked="checked" /> <li>
<!-- TMPL_ELSE --> <!-- TMPL_IF NAME="exemptfine" -->
<input type="checkbox" id="exemptcheck" name="exemptfine" value="exemptfine" /> <input type="checkbox" id="exemptcheck" name="exemptfine" value="exemptfine" checked="checked" />
<!-- /TMPL_IF --><label for="exemptcheck">Forgive overdue charges</label></li> <!-- TMPL_ELSE -->
<input type="checkbox" id="exemptcheck" name="exemptfine" value="exemptfine" />
<li><!-- (fixme) --> <!-- /TMPL_IF -->
<label for="exemptcheck">Forgive overdue charges</label>
<!-- TMPL_IF NAME="dropboxmode" --> </li>
<input type="checkbox" id="dropboxcheck" name="dropboxmode" value="dropboxmode" checked="checked" /> <!-- /TMPL_IF --> <!-- overduecharges -->
<!-- TMPL_ELSE --> <li>
<input type="checkbox" id="dropboxcheck" name="dropboxmode" value="dropboxmode" /> <!-- (fixme) -->
<!-- /TMPL_IF --> <label for="dropboxcheck">Dropbox mode </label></li> </ul> <!-- TMPL_IF NAME="dropboxmode" -->
<input type="checkbox" id="dropboxcheck" name="dropboxmode" value="dropboxmode" checked="checked" />
</fieldset> <!-- TMPL_ELSE -->
</div> <input type="checkbox" id="dropboxcheck" name="dropboxmode" value="dropboxmode" />
<!-- /TMPL_IF --> <!-- overduecharges --> <!-- /TMPL_IF -->
</form> <label for="dropboxcheck">Dropbox mode</label>
</li>
</ul>
</fieldset>
</div>
</form>
</div> </div>
<!-- TMPL_IF Name="returned" --> <!-- TMPL_IF Name="returned" -->