Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

reader button issues #81

Open
eshellman opened this issue May 17, 2018 · 2 comments
Open

reader button issues #81

eshellman opened this issue May 17, 2018 · 2 comments
Assignees

Comments

@eshellman
Copy link

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
Copy link
Author

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

@eshellman
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants