|
Lines 202-212
fieldset.rows table { clear: none; margin: 0; }
Link Here
|
| 202 |
</li> |
202 |
</li> |
| 203 |
<li> |
203 |
<li> |
| 204 |
<label class="widelabel" for="staffdisplaycount">Number of issues to display to staff: </label> |
204 |
<label class="widelabel" for="staffdisplaycount">Number of issues to display to staff: </label> |
| 205 |
<input type="text" name="staffdisplaycount" id="staffdisplaycount" value="[% staffdisplaycount | html %]" size="4"/> |
205 |
<input type="text" name="staffdisplaycount" id="staffdisplaycount" value="[% staffdisplaycount | html %]" /> |
| 206 |
</li> |
206 |
</li> |
| 207 |
<li> |
207 |
<li> |
| 208 |
<label class="widelabel" for="opacdisplaycount">Number of issues to display to the public: </label> |
208 |
<label class="widelabel" for="opacdisplaycount">Number of issues to display to the public: </label> |
| 209 |
<input type="text" name="opacdisplaycount" id="opacdisplaycount" value="[% opacdisplaycount | html %]" size="4"/> |
209 |
<input type="text" name="opacdisplaycount" id="opacdisplaycount" value="[% opacdisplaycount | html %]" /> |
| 210 |
</li> |
210 |
</li> |
| 211 |
</ol> |
211 |
</ol> |
| 212 |
</fieldset> |
212 |
</fieldset> |
|
Lines 515-520
fieldset.rows table { clear: none; margin: 0; }
Link Here
|
| 515 |
[% MACRO jsinclude BLOCK %] |
515 |
[% MACRO jsinclude BLOCK %] |
| 516 |
[% INCLUDE 'calendar.inc' %] |
516 |
[% INCLUDE 'calendar.inc' %] |
| 517 |
[% INCLUDE 'datatables.inc' %] |
517 |
[% INCLUDE 'datatables.inc' %] |
|
|
518 |
[% INCLUDE 'validator-strings.inc' %] |
| 518 |
[% Asset.js("js/mana.js") | $raw %] |
519 |
[% Asset.js("js/mana.js") | $raw %] |
| 519 |
<script> |
520 |
<script> |
| 520 |
var subscriptionid = "[% subscriptionid | html %]"; |
521 |
var subscriptionid = "[% subscriptionid | html %]"; |
|
Lines 552-557
fieldset.rows table { clear: none; margin: 0; }
Link Here
|
| 552 |
var MSG_MANA_SHOW_DETAILS = _("Show Mana results"); |
553 |
var MSG_MANA_SHOW_DETAILS = _("Show Mana results"); |
| 553 |
var MSG_MANA_NO_SUBSCRIPTION_FOUND = _("No subscription found on Mana Knowledge Base"); |
554 |
var MSG_MANA_NO_SUBSCRIPTION_FOUND = _("No subscription found on Mana Knowledge Base"); |
| 554 |
var MSG_MANA_SHARE_PATTERN = _("Please feel free to share your pattern with all others librarians once you are done"); |
555 |
var MSG_MANA_SHARE_PATTERN = _("Please feel free to share your pattern with all others librarians once you are done"); |
|
|
556 |
|
| 557 |
$(document).ready(function() { |
| 558 |
$("#subscription_add_form").validate({ |
| 559 |
rules: { |
| 560 |
staffdisplaycount: { number: true }, |
| 561 |
opacdisplaycount: { number: true }, |
| 562 |
} |
| 563 |
}); |
| 564 |
}); |
| 565 |
|
| 555 |
</script> |
566 |
</script> |
| 556 |
[% Asset.js("js/subscription-add.js") | $raw %] |
567 |
[% Asset.js("js/subscription-add.js") | $raw %] |
| 557 |
[% Asset.js("js/showpredictionpattern.js") | $raw %] |
568 |
[% Asset.js("js/showpredictionpattern.js") | $raw %] |
| 558 |
- |
|
|