|
Lines 31-37
Link Here
|
| 31 |
<div class="row"> |
31 |
<div class="row"> |
| 32 |
<div class="col-md-8 col-md-offset-2"> |
32 |
<div class="col-md-8 col-md-offset-2"> |
| 33 |
<h1> |
33 |
<h1> |
| 34 |
i [% IF is_edit || course_reserve %]Edit [% ELSE %]Reserve [% END %]<em>[% biblio.title | html %]</em> for <em>[% course.course_name | html %]</em> |
34 |
[% IF is_edit || course_reserve %]Edit [% ELSE %]Reserve [% END %]<em>[% biblio.title | html %]</em> for <em>[% course.course_name | html %]</em> |
| 35 |
</h1> |
35 |
</h1> |
| 36 |
|
36 |
|
| 37 |
[% IF course_reserve && !is_edit%]<div class="dialog message" id="already_on_reserve_this">This course already has this item on reserve.</div>[% END %] |
37 |
[% IF course_reserve && !is_edit%]<div class="dialog message" id="already_on_reserve_this">This course already has this item on reserve.</div>[% END %] |
|
Lines 252-258
i [% IF is_edit || course_reserve %]Edit [% ELSE %]Reserve [% END
Link Here
|
| 252 |
|
252 |
|
| 253 |
[% MACRO jsinclude BLOCK %] |
253 |
[% MACRO jsinclude BLOCK %] |
| 254 |
<script> |
254 |
<script> |
| 255 |
//<![CDATA[ |
|
|
| 256 |
$(document).ready(function(){ |
255 |
$(document).ready(function(){ |
| 257 |
$('.field-toggle').change(function() { |
256 |
$('.field-toggle').change(function() { |
| 258 |
if( this.checked ) { |
257 |
if( this.checked ) { |
|
Lines 263-269
i [% IF is_edit || course_reserve %]Edit [% ELSE %]Reserve [% END
Link Here
|
| 263 |
} |
262 |
} |
| 264 |
}); |
263 |
}); |
| 265 |
}); |
264 |
}); |
| 266 |
//]]> |
|
|
| 267 |
</script> |
265 |
</script> |
| 268 |
[% END %] |
266 |
[% END %] |
| 269 |
|
267 |
|
| 270 |
- |
|
|