From: Steven Chan Date: Sat, 30 Aug 2014 19:54:50 +0000 (-0700) Subject: Add direct links to Overdrive in checkout and hold list X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=6a1128e631b9508ea40669cb25301dcb32dfafdd;p=contrib%2Foverdrive-eg-opac.git Add direct links to Overdrive in checkout and hold list Signed-off-by: Steven Chan --- 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,