Commit Graph

107 Commits (b68ad58cc62c7b9512c354eae75c26952fad6430)

Author SHA1 Message Date
eric c457b268ec modernize some heavily used templates 2016-07-25 14:50:19 -04:00
eric c5ee01df57 its the future! 2016-05-11 10:41:50 -04:00
eric 240564e75b remove template workaround for testing 2016-05-11 10:36:20 -04:00
eric c34ffdd883 implement sorel-thumbnail
uses thumbnail for all non-google covers
2015-08-21 17:54:39 -04:00
eric 29108128a5 global change url syntax 2015-04-27 23:24:02 -04:00
eric 220d2871c1 display gift status instead of "Purchased!" 2014-12-20 13:03:20 -05:00
eric 44f3fadb49 use wish list apparatus to set keywords 2014-12-10 23:27:49 -05:00
eric eeb018df4f show pricing in buy-2-unglue panel view 2014-06-17 14:39:16 -04:00
eric 325dff59f2 fix repeated Fave button 2014-04-10 15:52:25 -04:00
eric 5661377207 if library supports t4u book, members of library don't see the ask
instead they see “your library has supported this free ebook!
2014-03-18 22:30:21 -04:00
eric ef1fa6b860 add t4u context sensitive exclamation in panel view 2014-03-16 21:29:00 -04:00
eric a3ec4b062d fix bugs found by Raymond 2014-03-03 16:51:33 -05:00
eric e8dc4121fa show beg always with an offer id; auto set the price for libraries 2014-02-20 16:53:30 -05:00
eric c7abcb357b report anonymous contributions 2014-02-20 16:31:13 -05:00
eric 36ebc83a5b adapt work and book panel to t4u
also: start migration to “Fave”
also: start showing faves on ready to read books
also: on panel view, fixed the num-wishes link was unclickable
but: the fave count looks ugly
2014-02-11 11:37:39 -05:00
eric e540bb7a56 all authors now display
had to harden the work model  against works without editions to pass
tests
Lagos 2060 will need 1st author to change back
added work.authors_short to work model and to search work mock model
used work #415 as an example of a work with 3 authors
2014-01-17 21:37:19 -05:00
eric b8a2b564f6 not noticed because never loaded properly
must have had fried brain when doing this
2013-12-20 18:01:15 -05:00
eric 0d81e22ff1 add "reserve" to purchase page 2013-10-20 14:18:17 -04:00
eric cc8375bf4a bookpanel reflects in-library and out on loan state 2013-10-19 16:54:09 -04:00
eric 93d128102e display of borrowability and library holdings
needed another date column on acqs to manage this
bookpanel getting complicated- moved some logic into tempalte tags
library page now shows b2u books it owns
"library" has its own view now
2013-10-18 12:36:55 -04:00
eric 18c836d6cd connect purchases to the new Acq table which records purchases 2013-08-19 22:54:43 -04:00
eric 94eb6aeab0 Demphasize "wishes" on the website in preparation for B2U 2013-08-18 18:10:25 -04:00
eric c415340356 change Pledge button to Purchase 2013-08-13 23:47:55 -04:00
eric 53ee1c8b29 Addressed Andromeda's comments
Didn't know LESS well enough to remove hover state on "Pledged!", so
added a link; removed extra "pledged!"; all ebook links now point to
download page.
2013-03-20 15:24:53 -04:00
eric 88c2edb58d refactor 2013-03-11 16:09:40 -04:00
eric 4e8f1b2fdc reshuffle back of bookpanel to allow front bottom buttons to be clicked 2013-03-11 15:38:04 -04:00
Andromeda Yelton f998b1f93b addresses [#29777727] 2013-02-06 11:15:49 -05:00
eric 3d1da688a5 unnecessary logic 2013-01-09 11:38:33 -05:00
eric e5f3eeacb5 try to correct logic for pledigng in list view 2013-01-04 19:21:34 -05:00
Andromeda Yelton 50808f3a89 users who have already pledged should not be offered Pledge CTA 2013-01-04 16:38:15 -05:00
Andromeda Yelton 38b436f647 action on booklist for active campaigns on wishlist should be pledge, not un-wishlist 2013-01-03 16:33:07 -05:00
eric 6e4f8fe3d7 configure wish list inside book_panel so it doesn't get omitted again 2013-01-02 20:26:20 -05:00
Andromeda Yelton c2bc4f6b68 tidying visibly wrong things 2013-01-02 16:10:32 -05:00
Andromeda Yelton 8d321d46dc final incorporation of all stray CSS changes 2013-01-02 15:55:10 -05:00
Andromeda Yelton 4c1b64c154 update successful books in unglued tab on other tabbed pages 2012-12-31 14:57:01 -05:00
Andromeda Yelton c8cb5937e8 need to apply correct styles for new status handling too 2012-12-31 13:58:42 -05:00
Andromeda Yelton 4a307a1e00 addressing CSS comments and also fixing some invalid html 2012-12-17 14:23:23 -05:00
Andromeda Yelton 73266f07eb line up icons better and more clearly indicate status of books with successful campaigns 2012-12-14 10:45:16 -05:00
Andromeda Yelton 810580779e fixing nits 2012-11-20 10:06:40 -05:00
Andromeda Yelton a2abb92038 makes pledge action clearer by describing in more contexts and using Pledge rather than Support 2012-11-20 09:56:04 -05:00
Andromeda Yelton 07c529a715 read it now should link to download page 2012-08-28 10:22:30 -04:00
Andromeda Yelton 325765e453 loose ends from anaheim [#32290011] [#32289649] [#32289951] 2012-07-05 10:05:04 -04:00
Raymond Yee 1f77371b7b 1) the title of ISBN:9780226032030 changed from 'Forbidden journeys' to 'Forbidden Journeys'
2) using humanize tag naturalday on the book panel
2012-06-18 13:55:45 -07:00
Andromeda Yelton fd44471aae caching the wishlist rather than calculating it for every single book_panel = potentially huge performance improvement 2012-06-01 10:22:39 -04:00
Andromeda Yelton 56074903e7 more cleanup 2012-06-01 09:06:20 -04:00
Andromeda Yelton a6d03af40d caching repeatedly-used title 2012-05-31 13:33:16 -04:00
Andromeda Yelton 9e8be5695b comments 2012-05-31 13:29:41 -04:00
Andromeda Yelton 90ece3a2b0 made logic less awful, cached work.id to speed things up as it's used many times 2012-05-31 13:25:19 -04:00
Raymond Yee d077a81a1b [#29919391] 742d5bcd70/frontend/templates/book_panel.html (L163) was not succeeding because work.last_campaign is None. So I rearrange the logic
to look first for whether there are any ebooks to link to, then added a check for last_campaign == None.

I think this fixes the immediate issue of Wished by N not appearing-- but the set of if statements could take a bit more thinking through
2012-05-29 16:57:38 -07:00
eric d784715407 Round dollar amount to nearest dollar [#30073593] 2012-05-25 18:34:16 -04:00