regluit icon indicating copy to clipboard operation
regluit copied to clipboard

reader button issues

Open eshellman opened this issue 6 years ago • 2 comments

CORS has been set for ebook files in S3, (and it works!) but we need to show the reader button only when an ebook in our s3 is available.

We also need to figure out a behavior for the "Read It Now" button on the bookpanel. Seems to me it should be the reader when available.

eshellman avatar May 17 '18 00:05 eshellman

I like to put the logic for reader availability on the work object (in bibmodels)

eshellman avatar May 17 '18 00:05 eshellman

I think you can just use {% if work.epubfiles %}

eshellman avatar May 17 '18 01:05 eshellman