Owen Leonard
ef4306cc02
This patch moves most of the JavaScript embedded in results.tt into a separate file. The JavaScript that remains on the page is everything which requires processing by Template Toolkit. This is limited to variable definition. To test, apply the patch and perform a catalog search in the staff client. On the results page, test that JavaScript functionality has not been affected: - The search results toolbar should "float" as you scroll - Select all and Clear all - Default search term highlighting; Unhighlight and highlight controls - Adding and removing one or more items from the cart - Adding one or more items to a list - Placing one or more holds my making selections and clicking "Place hold" - Browse selected records - Z39.50 search (search form should be populated with your search terms) - "Show more" and "Show less" links in the facets sidebar - Book cover image services: Amazon, Coce, local covers, etc. - Open a patron record and click "Search to hold" - Perform a search and select one or more results - Test "Place hold" from the hold menu in the toolbar - Test "Place hold for..." from the hold menu in the toolbar - Test "Forget..." from the hold menu in the toolbar - In Tools -> Patron clubs, locate a club with enrolled members - From the "Actions" menu, select "Search to hold" - Perform a search and select one or more results - Test "Place hold" from the hold menu in the toolbar - Test "Place hold for..." from the hold menu in the toolbar - Test "Forget..." from the hold menu in the toolbar Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
59 lines
3.1 KiB
PHP
59 lines
3.1 KiB
PHP
<script>
|
|
var CIRCULATION_RETURNED = _("Checked in");
|
|
var CIRCULATION_NOT_RETURNED = _("Unable to check in");
|
|
var NOT_RENEWABLE_OVERDUE = _("Not allowed: overdue");
|
|
var NOT_RENEWABLE_RESTRICTION = _("Not allowed: patron restricted");
|
|
var CIRCULATION_RENEWED_DUE = _("Renewed, due:");
|
|
var CIRCULATION_RENEW_FAILED = _("Renew failed:");
|
|
var RETURN_CLAIMED = _("Return claimed");
|
|
var RETURN_CLAIMED_FAILURE = _("Unable to claim as returned");
|
|
var RETURN_CLAIMED_MAKE = _("Claim returned");
|
|
var RETURN_CLAIMED_NOTES = _("Notes about return claim");
|
|
var NOT_CHECKED_OUT = _("not checked out");
|
|
var TOO_MANY_RENEWALS = _("too many renewals");
|
|
var ON_RESERVE = _("on hold");
|
|
var REASON_UNKNOWN = _("reason unknown");
|
|
var TODAYS_CHECKOUTS = _("Today's checkouts");
|
|
var PREVIOUS_CHECKOUTS = _("Previous checkouts");
|
|
var BY = _("by _AUTHOR_");
|
|
var ON_HOLD = _("On hold");
|
|
var PLACE_HOLD = _("Place hold");
|
|
var NOT_RENEWABLE = _("Not renewable");
|
|
var NOT_RENEWABLE_TOO_SOON = _("No renewal before %s");
|
|
var NOT_RENEWABLE_AUTO_TOO_SOON = _("Scheduled for automatic renewal");
|
|
var NOT_RENEWABLE_AUTO_TOO_LATE = _("Can no longer be auto-renewed - number of checkout days exceeded");
|
|
var NOT_RENEWABLE_AUTO_TOO_MUCH_OWEING = _("Automatic renewal failed, patron has unpaid fines");
|
|
var NOT_RENEWABLE_AUTO_ACCOUNT_EXPIRED = _("Automatic renewal failed, account expired");
|
|
var NOT_RENEWABLE_AUTO_RENEW = _("Scheduled for automatic renewal");
|
|
var NOT_RENEWABLE_DENIED = _("Renewal denied by syspref");
|
|
var RENEWALS_REMAINING = _("%s of %s renewals remaining");
|
|
var HOLD_IS_SUSPENDED = _("Hold is <strong>suspended</strong>");
|
|
var UNTIL = _("until %s");
|
|
var NEXT_AVAILABLE_ITYPE = _("Next available %s item");
|
|
var ITEM_IS_WAITING = _("Item is <strong>waiting</strong>");
|
|
var ITEM_IS_WAITING_HERE = _("Item is <strong>waiting here</strong>");
|
|
var AT = _("at %s");
|
|
var ITEM_IS_IN_TRANSIT = _("Item is <strong>in transit</strong> from %s since %s");
|
|
var FROM = _("from");
|
|
var NOT_TRANSFERRED_YET = _("Item hasn't been transferred yet from %s");
|
|
var NO = _("No");
|
|
var YES = _("Yes");
|
|
var INHOUSE_USE = _("On-site checkout");
|
|
var CANCEL = _("Cancel");
|
|
var RESUME = _("Resume");
|
|
var SUSPEND = _("Suspend");
|
|
var SUSPEND_UNTIL = _("Suspend until:");
|
|
var SUSPEND_HOLD_ON = _("Suspend hold on");
|
|
var CLEAR_DATE_TO_SUSPEND_INDEFINITELY = _("Clear date to suspend indefinitely");
|
|
var SUSPEND_HOLD_ERROR_DATE = _("Unable to suspend hold, invalid date");
|
|
var SUSPEND_HOLD_ERROR_NOT_FOUND = _("Unable to suspend hold, hold not found");
|
|
var RESUME_HOLD_ERROR_NOT_FOUND = _("Unable to resume, hold not found");
|
|
var CURRENT = _(" (current) ");
|
|
var MSG_NO_ITEMTYPE = _("No itemtype");
|
|
var MSG_CHECKOUTS_BY_ITEMTYPE = _("Number of checkouts by item type");
|
|
var PATRON_NOTE = _("Patron note");
|
|
var CONFIRM_DELETE_RETURN_CLAIM = _("Are you sure you want to delete this return claim?");
|
|
var BROWSER_RETURN_TO_SEARCH = _("Results");
|
|
var BROWSER_PREVIOUS = _("Previous");
|
|
var BROWSER_NEXT = _("Next");
|
|
</script>
|