From 6a1128e631b9508ea40669cb25301dcb32dfafdd Mon Sep 17 00:00:00 2001 From: Steven Chan Date: Sat, 30 Aug 2014 12:54:50 -0700 Subject: [PATCH] Add direct links to Overdrive in checkout and hold list Signed-off-by: Steven Chan --- src/od_pages_myopac.coffee | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/od_pages_myopac.coffee b/src/od_pages_myopac.coffee index 8526812..ef8ee0b 100644 --- a/src/od_pages_myopac.coffee +++ b/src/od_pages_myopac.coffee @@ -333,6 +333,7 @@ define [
  • Hold will expire <%= expires %>
  • + Click to access online (library card required) """ @empty().append tpl position: hold.holdListPosition @@ -341,6 +342,7 @@ define [ expires: hold.holdExpires.fromNow() placed: hold.holdPlacedDate.fromNow() activates: hold.holdSuspension?.numberOfDays.calendar() + id: hold.reserveId # Illuminate areas of this row according to the hold status ._show_from hold_status, '.suspended', '.available', '.unavailable' @@ -446,10 +448,12 @@ define [ tpl = _.template """
    Expires <%= expires_relatively %>
    <%= expires_exactly %>
    + Click to access online (library card required) """ @empty().append tpl expires_relatively: circ.expires.fromNow() expires_exactly: circ.expires.format 'YYYY MMM D, h:mm:ss a' + id: circ.reserveId # Build a element to show the available actions of an item. # If the item is available, the check out action should be possible, -- 2.11.0