$_("Books You've Checked Out")
$if len(loans) == 0:$ungettext("1 Current Loan", "%(count)d Current Loans", len(loans), count=len(loans)) | $_("Loan Expires") | $_("Loan actions") | |
---|---|---|---|
$:render_template('covers/book_cover_small', book) |
$book.title
Borrowed $datestr(datetime_from_utc_timestamp(loan['loaned_at']))
$ wlsize = book.get_waitinglist_size()
$if wlsize:
$ungettext("There is one person waiting for this book.", "There are %(n)d people waiting for this book.", wlsize, n=wlsize)
|
$if loan['expiry'] is None:
$# Not yet fulfilled
$_("Not yet downloaded.") $_("Download Now") $else: $:macros.FormatExpiry(loan['expiry']) |
$if loan['resource_type'] == 'bookreader':
$:macros.LoanReadForm(loan['ocaid'])
$:macros.ReturnForm(loan['ocaid'])
$else:
$:_("Return via Adobe Digital Editions") |
$_("Books You're Waiting For")
$ waitinglist = user.get_waitinglist() $if len(waitinglist) == 0:TITLE?')
$ungettext("1 book", "%(count)d books", len(waitinglist), count=len(waitinglist)) | $_("Status") | $_("Actions") | |
---|---|---|---|
$:render_template('covers/book_cover_small', book) |
$book.title
$ ndays = record.get_waiting_in_days()
$ungettext("Waiting for 1 day", "Waiting for %(count)d days", ndays, count=ndays)
$if status == "waiting":
$ wsize = book.get_waitinglist_size()
$ pos = record.get_position()
$if pos == 1:
$_("You are the next person to receive this book.")
$else:
$ungettext("There is one person ahead of you in the waiting list.", "There are %(count)d people ahead of you in the waiting list.", pos-1, count=pos-1)
|
$record['status'].title() $if status == "available": $ delta_hours = record.get_expiry_in_hours()
$if delta_hours == 0:
$_("You have less than an hour to borrow it.")
$else:
$ungettext("You have one more hour to borrow it.", "You have %(hours)d more hours to borrow it.", delta_hours, hours=delta_hours)
|
$if status == "available": |
$_("My Loan History")
View my loan history on Archive.org
$# XXX borrow history not yet recorded so we show instructions if no current loans $if len(loans) == 0 and len(waitinglist) == 0:$_("There are 2 different sources for borrowing books through Open Library:")
1. $_("Internet Archive"), $_("eBooks everywhere")
$:_('The Internet Archive and several partner libraries are offering thousands of eBooks for loan to anyone with an Open Library account, anywhere in the world.')
2. WorldCat, $_("physical books from your local library")
$_("We connect our records to WorldCat wherever possible. You can tell WorldCat your postcode/zip code, and it will tell you the closest library with a copy of the book.")
$_("Getting Started")
$_("All you need to borrow a book scanned at the Internet Archive is an Open Library account and Adobe Digital Editions.")
$_("Loans through WorldCat are managed through your local libraries, not through Open Library.")
$:_('Check out the Lending FAQ for more information.')
$_("Which books are available?")
$:_('Browse all the available books through the "Lending Library" subject, or try a search.')
$:_('If you work at a library and are interested to find out more about lending ebooks through Open Library, please get in touch with us!')