From 0de46d0bb607c6255991263375196104cc9e6bd2 Mon Sep 17 00:00:00 2001 From: Andromeda Yelton Date: Tue, 18 Sep 2012 13:35:14 -0400 Subject: [PATCH 1/5] DRM-free logo --- frontend/templates/download.html | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/frontend/templates/download.html b/frontend/templates/download.html index e8b6506b..861d7dc1 100644 --- a/frontend/templates/download.html +++ b/frontend/templates/download.html @@ -51,8 +51,8 @@ {% if unglued_ebooks or other_ebooks %}
-

How to download

-

Ebooks you find at Unglue.it may be read on any device, and you're welcome to convert them to whatever electronic format is most useful to you. While we can't cover every possible combination of readers, software, and formats you might use, here's some help for the most common cases.

+ DefectiveByDesign.org

How to download

+

Ebooks you find at Unglue.it may be read on any device, and you're welcome to convert them to whatever electronic format is most useful to you. While we can't cover every possible combination of readers, software, and formats you might use, here's some help for the most common cases.

Any device

You may already have an app which reads our ebook formats. If so, when you download the file, you will be given an option to open the file using that app. You're done!

@@ -114,9 +114,11 @@

Need help with something not listed here? Email us at support@gluejar.com.

{% else %} -

There are no freely available downloads of {{ work.title }} right now. {% if not work in request.user.wishlist.works.all %}Would you like there to be? Add this book to your wishlist.{% else %}Ask your friends to add it to their wishlists!{% endif %}

- -

If you know of a Creative-Commons-licensed or US public domain edition of this book, you can add it through the Rights tab of the book page.

+
+

There are no freely available downloads of {{ work.title }} right now. {% if not work in request.user.wishlist.works.all %}Would you like there to be? Add this book to your wishlist.{% else %}Ask your friends to add it to their wishlists!{% endif %}

+ +

If you know of a Creative-Commons-licensed or US public domain edition of this book, you can add it through the Rights tab of the book page.

+
{% endif %} From f581dd354b2b398175e262a548283c88520379e4 Mon Sep 17 00:00:00 2001 From: Andromeda Yelton Date: Tue, 18 Sep 2012 13:40:52 -0400 Subject: [PATCH 2/5] readmill support --- frontend/templates/download.html | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/frontend/templates/download.html b/frontend/templates/download.html index 861d7dc1..b5b57f58 100644 --- a/frontend/templates/download.html +++ b/frontend/templates/download.html @@ -52,13 +52,25 @@ {% if unglued_ebooks or other_ebooks %}
DefectiveByDesign.org

How to download

-

Ebooks you find at Unglue.it may be read on any device, and you're welcome to convert them to whatever electronic format is most useful to you. While we can't cover every possible combination of readers, software, and formats you might use, here's some help for the most common cases.

+

Ebooks you find at Unglue.it may be read on any device, and you're welcome to convert them to whatever electronic format is most useful to you. While we can't cover every possible combination of readers, software, and formats you might use, here's some help for the most common cases.

Any device

You may already have an app which reads our ebook formats. If so, when you download the file, you will be given an option to open the file using that app. You're done!

If this doesn't work, use the instructions below for your device.

+

Readmill users

+

If you're a Readmill member, you can send unglued ebooks to your iPad with one click. Here you go:

+
+ + +

Android devices

From efa3187535e8dc03924c32028bc96c5ef858e29b Mon Sep 17 00:00:00 2001 From: Andromeda Yelton Date: Wed, 19 Sep 2012 10:25:23 -0400 Subject: [PATCH 3/5] dynamically generate the readmill download url don't hardcode it you moron --- frontend/templates/download.html | 2 +- frontend/views.py | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/frontend/templates/download.html b/frontend/templates/download.html index b5b57f58..518b3b38 100644 --- a/frontend/templates/download.html +++ b/frontend/templates/download.html @@ -61,7 +61,7 @@

Readmill users

If you're a Readmill member, you can send unglued ebooks to your iPad with one click. Here you go:

-
+
+ {% endblock %} {% block content %} @@ -61,16 +61,8 @@

Readmill users

If you're a Readmill member, you can send unglued ebooks to your iPad with one click. Here you go:

-
+
- -

Android devices

diff --git a/frontend/templates/work.html b/frontend/templates/work.html index 36b1f1e2..9b1ae1d3 100644 --- a/frontend/templates/work.html +++ b/frontend/templates/work.html @@ -7,14 +7,14 @@ {% endblock %} -{% block base_js %} - +{% block extra_js %} +