diff --git a/core/signals.py b/core/signals.py index 2a0e9719..eb32f4f5 100644 --- a/core/signals.py +++ b/core/signals.py @@ -188,5 +188,6 @@ successful_campaign.connect(notify_successful_campaign) # former seems too sausage-making, and might make people angry if they get # notifications about claims they believe are false). If it's the former, the # text should be revisited. -# 'campaign' -# 'site' \ No newline at end of file +# 'claim' +# 'site' +# 'rightsholder' (the name of the rightsholder) \ No newline at end of file diff --git a/frontend/templates/notification/wishlist_near_deadline/notice.html b/frontend/templates/notification/wishlist_near_deadline/notice.html index 36238540..8ad193e5 100644 --- a/frontend/templates/notification/wishlist_near_deadline/notice.html +++ b/frontend/templates/notification/wishlist_near_deadline/notice.html @@ -19,7 +19,7 @@
diff --git a/frontend/templates/notification/wishlist_near_target/notice.html b/frontend/templates/notification/wishlist_near_target/notice.html index 2936f195..ee322183 100644 --- a/frontend/templates/notification/wishlist_near_target/notice.html +++ b/frontend/templates/notification/wishlist_near_target/notice.html @@ -1,19 +1,30 @@ +{% load humanize %}
-
- cover image for {{ campaign.work.title }} +
+
+ cover image for {{ campaign.work.title }} +
+
+ almost-unglued icon + The campaign to unglue a book you've wishlisted, {{ campaign.work.title}}, is close to succeeding! + {% endcomment %} +
-
-
- -
-
+
+ {% if pledged %} + Your pledge is helping us reach the campaign's target price of {{ campaign.target }}. Will you help again by sharing this campaign with your friends? + {% else %} + You can help us give this book to the world by pledging or by sharing this campaign with your friends. + {% endif %} -

-text comments -

- -

Give ebooks to the world; give income to authors and publishers. Unglue.it

-
+
+ + Thank you!
\ No newline at end of file diff --git a/frontend/templates/notification/wishlist_premium_limited_supply/full.txt b/frontend/templates/notification/wishlist_premium_limited_supply/full.txt index cd014797..f98b88b7 100644 --- a/frontend/templates/notification/wishlist_premium_limited_supply/full.txt +++ b/frontend/templates/notification/wishlist_premium_limited_supply/full.txt @@ -1,7 +1,7 @@ {% load humanize %}Did you want one of the limited-edition premiums for the campaign to unglue {{ campaign.work.title }}? This is your last chance -- there's only one left! Premium: {{ premium.description }} -Amount: {{ premium.amount|intcomma }} +Minimum pledge: {{ premium.amount|intcomma }} If you'd like to claim the last one, pledge here: https://{{ site.domain }}{% url pledge work_id=campaign.work.id %} diff --git a/frontend/templates/notification/wishlist_premium_limited_supply/notice.html b/frontend/templates/notification/wishlist_premium_limited_supply/notice.html index 2936f195..a6766c62 100644 --- a/frontend/templates/notification/wishlist_premium_limited_supply/notice.html +++ b/frontend/templates/notification/wishlist_premium_limited_supply/notice.html @@ -1,19 +1,20 @@ +{% load humanize %}
-
- cover image for {{ campaign.work.title }} +
+
+ cover image for {{ campaign.work.title }} +
+
+ It's your last chance to claim one of the limited edition premiums for the campaign to unglue {{ campaign.work.title }}! +
-
-
- -
-
- -

-text comments -

- -

Give ebooks to the world; give income to authors and publishers. Unglue.it

-
+
+ Did you want one of the limited-edition premiums for the campaign to unglue {{ campaign.work.title }}? This is your last chance -- there's only one left! + + Premium: {{ premium.description }} + Minimum pledge: {{ premium.amount|intcomma }} + + If you'd like to claim the last one, pledge here: https://{{ site.domain }}{% url pledge work_id=campaign.work.id %}
\ No newline at end of file diff --git a/frontend/templates/notification/wishlist_price_drop/notice.html b/frontend/templates/notification/wishlist_price_drop/notice.html index 2936f195..6fad5eb0 100644 --- a/frontend/templates/notification/wishlist_price_drop/notice.html +++ b/frontend/templates/notification/wishlist_price_drop/notice.html @@ -1,19 +1,30 @@ +{% with campaign.work.id as work_id %} +{% with campaign.work.title as title %}
-
- cover image for {{ campaign.work.title }} +
+
+ cover image for {{ title }} +
+
+ Good news! The rights holder, {{ campaign.rightsholder }}, has lowered the target price to ${{ campaign.target|intcomma }} for {{ title }}. +
-
-
- -
-
+
+ {% if pledged %} + Your pledge of {{ amount|intcomma }} is now going even farther toward helping {{ title }} to reach its goal. Still, we can only unglue this book if the campaign succeeds. You can help again by sharing this campaign: + {% else %} + The target may be lower, but we still need your help to reach it. Pledges of any amount help. You can chip in towards giving this book to the world at https://{{ site.domain }}{% url pledge work_id=work_id %} . You can also help by sharing this campaign: + {% endif %} + + -

-text comments -

- -

Give ebooks to the world; give income to authors and publishers. Unglue.it

-
-
\ No newline at end of file +
+{% endwith %} +{% endwith %} \ No newline at end of file diff --git a/frontend/templates/notification/wishlist_successful/notice.html b/frontend/templates/notification/wishlist_successful/notice.html index 038874ec..1fb21d7d 100644 --- a/frontend/templates/notification/wishlist_successful/notice.html +++ b/frontend/templates/notification/wishlist_successful/notice.html @@ -1,24 +1,17 @@ +{% with campaign.work.title as title %}
-
- cover image for {{ campaign.work.title }} +
+
+ cover image for {{ title }} +
+
+ Hooray! We're going to give {{ title }} to the world! +
-
-
- -
-
- -

Congratulations! You wished for it and pledged for it, and now the Campaign -for {{ campaign.work.title}} has succeeded. -You will notified when an Unglued ebook edition is -available, within 90 days.

- -

You will be receiving notification about your Campaign -Premium(s) for {{ campaign.work.title}} directly from the RIGHTS HOLDER. -

- -

Give ebooks to the world; give income to authors and publishers. Unglue.it

-
+
+ A book on your wishlist, {{ title }}, has met its goal price of {{ campaign.target }}, thanks to the support of ungluers like you. Unglue.it and the book's rights holder, {{ campaign.rightsholder }}, will be converting it to an unglued ebook edition and making it available for all the world to enjoy. If you've asked us to in your notification settings, we'll tell you when the unglued ebook is ready.

+ Thank you again!
-
\ No newline at end of file +
+{% endwith %} \ No newline at end of file diff --git a/frontend/templates/notification/wishlist_unglued_book_released/notice.html b/frontend/templates/notification/wishlist_unglued_book_released/notice.html index 6cb3c6b4..07a10539 100644 --- a/frontend/templates/notification/wishlist_unglued_book_released/notice.html +++ b/frontend/templates/notification/wishlist_unglued_book_released/notice.html @@ -1,68 +1,76 @@ {% load truncatechars %} +{% comment %} +Note: this is NOT intended to render notices + +This is a model to use as a base for notice.html templates. +Copy/paste from here to your desired notice.html and fill in the specific content. +Using this template will allow notices.css to apply to all notices for a uniform style. +{% endcomment %} +
-
- cover image for {{ work.title }} -
- -
+
+
+ cover image for {{ work.title }} +
{{ work.title }} is now available for download
-
-{% if work.last_campaign_status == 'SUCCESSFUL' %} -

-Great News! {{ work.title }} which you have supported is now available for download as an Unglued Ebook. -

-{% else %} -

-Good News! {{ work.title }} which is on your wishlist is available for download as a {{ work.ebooks.0.get_rights_display }} ebook. -

-{% if work.ebooks.0.user %} -

-We'd like to thank Ungluer {{work.ebooks.0.user}} for adding the link(s). -

-{% endif %} -{% endif %} -

Here are the files available for download:

- - - - - - - -{% for ebook in work.ebooks %} - - - - - - -{% endfor %} + + +
+ {% if work.last_campaign_status == 'SUCCESSFUL' %} +

+ Great News! {{ work.title }} which you have supported is now available for download as an Unglued Ebook. +

+ {% else %} +

+ Good News! {{ work.title }} which is on your wishlist is available for download as a {{ work.ebooks.0.get_rights_display }} ebook. +

+ {% if work.ebooks.0.user %} +

+ We'd like to thank Ungluer {{work.ebooks.0.user}} for adding the link(s). +

+ {% endif %} + {% endif %} -
File typeLicenseHost SiteURL
{{ ebook.get_format_display }}{{ ebook.get_rights_display }}{{ ebook.provider }}{{ ebook.url|truncatechars:30 }}
- -

-{% if work.ebooks.0.rights == 'PD-US' %} -A public domain ebook belongs to all of us. You can do anything you like with it. -{% else %} -The Creative Commons licensing terms for the ebook allow you to redistribute the files under the specified license terms. There's no DRM. -{% endif %} -

-

-{% if work.last_campaign_status == 'SUCCESSFUL' %} -If you have any problems with this unglued ebook, please don't hesitate to let us know at support@gluejar.com. And if you love being able to give this ebook for free to all of your friends, please consider supporting other ebooks for ungluing. -{% else %} -If you have any problems with these ebook files, please don't hesitate to let us know at support@gluejar.com. For example, if the file isn't what it says it is, or if the licensing or copyright status is misrepresented, we want to know as soon as possble. -{% endif %} -

-

-Thanks, -

-

- -Your Tireless Unglue.it Staff -

-
+

Here are the files available for download:

+ + + + + + + + {% for ebook in work.ebooks %} + + + + + + + {% endfor %} + +
File typeLicenseHost SiteURL
{{ ebook.get_format_display }}{{ ebook.get_rights_display }}{{ ebook.provider }}{{ ebook.url|truncatechars:30 }}
+ +

+ {% if work.ebooks.0.rights == 'PD-US' %} + A public domain ebook belongs to all of us. You can do anything you like with it. + {% else %} + The Creative Commons licensing terms for the ebook allow you to redistribute the files under the specified license terms. There's no DRM. Consult CreativeCommons.org for more details. + {% endif %} +

+

+ {% if work.last_campaign_status == 'SUCCESSFUL' %} + If you have any problems with this unglued ebook, please don't hesitate to let us know at support@gluejar.com. And if you love being able to give this ebook for free to all of your friends, please consider supporting other ebooks for ungluing. + {% else %} + If you have any problems with these ebook files, please don't hesitate to let us know at support@gluejar.com. For example, if the file isn't what it says it is, or if the licensing or copyright status is misrepresented, we want to know as soon as possble. + {% endif %} +

+

+ Thank you! +

+

+ The Unglue.it team +

\ No newline at end of file diff --git a/frontend/templates/notification/wishlist_unsuccessful/notice.html b/frontend/templates/notification/wishlist_unsuccessful/notice.html index 2936f195..1d1032e0 100644 --- a/frontend/templates/notification/wishlist_unsuccessful/notice.html +++ b/frontend/templates/notification/wishlist_unsuccessful/notice.html @@ -1,19 +1,20 @@ +{% with campaign.work.title as title %}
-
- cover image for {{ campaign.work.title }} +
+
+ cover image for {{ title }} +
+
+ Alas. The campaign to unglue {{ title }} did not succeed. +
-
-
- -
-
- -

-text comments -

- -

Give ebooks to the world; give income to authors and publishers. Unglue.it

-
+
+ If you pledged toward this work, your pledge will expire shortly and your credit card will not be charged, nor will you receive any premiums. + + Still want to give {{ title }} to the world? Don't despair. Keep it on your wishlist and tell everyone why you love this book. The rights holder, {{ campaign.rightsholder }}, may run a campaign with different terms in the future. With your help, we may yet be able to unglue {{ title }}. + + Thank you for your support.
-
\ No newline at end of file +
+{% endwith %} \ No newline at end of file diff --git a/frontend/templates/notification/wishlist_updated/notice.html b/frontend/templates/notification/wishlist_updated/notice.html index 2936f195..c4a35237 100644 --- a/frontend/templates/notification/wishlist_updated/notice.html +++ b/frontend/templates/notification/wishlist_updated/notice.html @@ -1,19 +1,12 @@ +{% with campaign.work.title as title %}
-
- cover image for {{ campaign.work.title }} -
- -
+
+
+ cover image for {{ title }} +
- + The rights holder, {{ campaign.rightsholder }}, has updated the campaign to unglue {{ title }}. For details, see the campaign page.
-
- -

-text comments -

- -

Give ebooks to the world; give income to authors and publishers. Unglue.it

-
-
-
\ No newline at end of file +
+
+{% endwith %} \ No newline at end of file diff --git a/frontend/templates/notification/wishlist_work_claimed/full.txt b/frontend/templates/notification/wishlist_work_claimed/full.txt index 996ded00..46fbb06e 100644 --- a/frontend/templates/notification/wishlist_work_claimed/full.txt +++ b/frontend/templates/notification/wishlist_work_claimed/full.txt @@ -1,4 +1,4 @@ -Hooray! A rights holder, {{ rightsholder }}, has claimed {{ campaign.work.title }}, a work on your wishlist at Unglue.it. +Hooray! A rights holder, {{ rightsholder }}, has claimed {{ claim.work.title }}, a work on your wishlist at Unglue.it. What does this mean for you? Rights holders are the people who are legally authorized to license works. This means they're the only people who can run campaigns on Unglue.it. diff --git a/frontend/templates/notification/wishlist_work_claimed/notice.html b/frontend/templates/notification/wishlist_work_claimed/notice.html index 2936f195..7f420d75 100644 --- a/frontend/templates/notification/wishlist_work_claimed/notice.html +++ b/frontend/templates/notification/wishlist_work_claimed/notice.html @@ -1,19 +1,31 @@ +{% with claim.work.id as work_id %} +{% with claim.work.title as title %}
-
- cover image for {{ campaign.work.title }} +
+
+ cover image for {{ title }} +
+
+ Hooray! {{ rightsholder }} is now an approved rights holder for {{ title }}. +
-
-
- -
-
+
+ What does this mean for you? Rights holders are the people who are legally authorized to license works. This means they're the only people who can run campaigns on Unglue.it. + + {{ rightsholder }} may be running a campaign soon, or later, but isn't obligated to. Want to make that campaign happen? Leave a comment and tell your friends: -

-text comments -

+ -

Give ebooks to the world; give income to authors and publishers. Unglue.it

-
+ Make sure {{ rightsholder }} knows how much you want to give this book to the world. + + Thanks for your help!
-
\ No newline at end of file +
+{% endwith %} +{% endwith %} \ No newline at end of file