Lines 177-188
$(document).ready(function(){
Link Here
|
177 |
<legend>[% status.fieldname %]</legend> |
177 |
<legend>[% status.fieldname %]</legend> |
178 |
<ul id="statuses-[% fieldname %]" style="display: inline;"> |
178 |
<ul id="statuses-[% fieldname %]" style="display: inline;"> |
179 |
[% FOREACH value IN status.values %] |
179 |
[% FOREACH value IN status.values %] |
180 |
[% IF (value.lib) %]<li> |
180 |
[% IF (value.lib) %] |
|
|
181 |
<li> |
181 |
<label for="[% value.id %]"> |
182 |
<label for="[% value.id %]"> |
182 |
[% value.lib %] |
183 |
[% IF value.authorised_value==0 %] |
|
|
184 |
For loan |
185 |
[% ELSE %] |
186 |
[% value.lib %] |
187 |
[% END %] |
183 |
</label> |
188 |
</label> |
184 |
<input type="checkbox" name="status-[% status.fieldname %]-[% value.authorised_value %]" id="[% value.authorised_value %]" /> |
189 |
<input type="checkbox" name="status-[% status.fieldname %]-[% value.authorised_value %]" id="[% value.authorised_value %]" /> |
185 |
</li>[% END %] |
190 |
</li> |
|
|
191 |
[% END %] |
186 |
[% END %] |
192 |
[% END %] |
187 |
</ul> |
193 |
</ul> |
188 |
</fieldset> |
194 |
</fieldset> |
Lines 293-299
$(document).ready(function(){
Link Here
|
293 |
[% ELSIF result.problem == 'missingitem' %] |
299 |
[% ELSIF result.problem == 'missingitem' %] |
294 |
<p>Item missing</p> |
300 |
<p>Item missing</p> |
295 |
[% ELSIF result.problem == 'changestatus' %] |
301 |
[% ELSIF result.problem == 'changestatus' %] |
296 |
<p>Change item status</p> |
302 |
<p>Unknown not-for-loan status</p> |
297 |
[% ELSIF result.problem == 'not_scanned' %] |
303 |
[% ELSIF result.problem == 'not_scanned' %] |
298 |
<p>Item should have been scanned</p> |
304 |
<p>Item should have been scanned</p> |
299 |
[% END %] |
305 |
[% END %] |