bleah, django-notification fails around the with tags. removed.

pull/1/head
Andromeda Yelton 2012-07-16 11:50:31 -04:00
parent 95c95dfcc8
commit a226669109
20 changed files with 73 additions and 165 deletions

View File

@ -1,20 +1,13 @@
{% extends "notification/notice_template.html" %}
{% with comment.content_object.id as id %}
{% with comment.user as user %}
{% url work id as work_url %}
{% url supporter supporter_username=user as supporter_url %}
{% block comments_book %}
<a href="{{ work_url }}?tab=2"><img src="{{ comment.content_object.cover_image_small }}" alt="cover image for {{ comment.content_object.title }}" /></a>
<a href="{% url work comment.content_object.id %}?tab=2"><img src="{{ comment.content_object.cover_image_small }}" alt="cover image for {{ comment.content_object.title }}" /></a>
{% endblock %}
{% block comments_graphical %}
<span><a href="{{ supporter_url }}">{{ comment.user.username }}</a> has made a comment on <a href="{{ work_url }}?tab=2">{{ comment.content_object.title }}</a>.</span>
<span><a href="{% url supporter comment.user.username %}">{{ comment.user.username }}</a> has made a comment on <a href="{% url work comment.content_object.id %}?tab=2">{{ comment.content_object.title }}</a>.</span>
{% endblock %}
{% block comments_textual %}
{{ comment.comment|linebreaksbr }}
{% endblock %}
{% endwith %}
{% endwith %}
{{ comment.comment|linebreaksbr }}
{% endblock %}

View File

@ -1,6 +1,6 @@
{% comment %}
make sure that any urls you use are based off of a {% url foo as bar %}
django-notification can't find the url dispatcher when extending this template
django-notification {% with %} play poorly together. Don't use {% with %}
in child templates.
{% endcomment %}
<div class="comments clearfix">
<div class="comments_info clearfix">

View File

@ -1,40 +1,30 @@
{% extends "notification/notice_template.html" %}
{% load humanize %}
{% with transaction.campaign.work as work %}
{% with transaction.campaign.work.title as title %}
{% with transaction.campaign.rightsholder as rightsholder %}
{% with transaction.amount as amount %}
{% url work work.id as work_url %}
{% block comments_book %}
<a href="{{ work_url %}"><img src="{{ work.cover_image_small }}" alt="cover image for {{ title }}" /></a>
<a href="{% url work transaction.campaign.work.id %}"><img src="{{ transaction.campaign.work.cover_image_small }}" alt="cover image for {{ transaction.campaign.work.title }}" /></a>
{% endblock %}
{% block comments_graphical %}
Hooray! The campaign for {{ title }} has succeeded. Your credit card is being charged ${{ amount }}. Thank you again for your help.
Hooray! The campaign for {{ transaction.campaign.work.title }} has succeeded. Your credit card is being charged ${{ transaction.amount }}. Thank you again for your help.
{% endblock %}
{% block comments_textual %}
<p>Congratulations!</p>
<p>Thanks to you and other ungluers, {{ title }} will be released to the world in an unglued ebook edition. {{ transaction.host|capfirst }} will now charge your credit card.</p>
<p>Thanks to you and other ungluers, {{ transaction.campaign.work.title }} will be released to the world in an unglued ebook edition. {{ transaction.host|capfirst }} will now charge your credit card.</p>
<p>Pledge Summary :<br />
Amount pledged: {{ amount|intcomma }}<br />
Premium: {{ transaction.premium.description }} <br />
</p>
<p>We will notify you when the unglued ebook is available for you to read. If you've requested special premiums, the rights holder, {{ rightsholder }}, will be in touch with you via email to request any information needed to deliver your premium.
<p>We will notify you when the unglued ebook is available for you to read. If you've requested special premiums, the rights holder, {{ transaction.campaign.rightsholder }}, will be in touch with you via email to request any information needed to deliver your premium.
</p>
<p>For more information, visit the visit the <a href="{{ work_url }}">project page</a>.
<p>For more information, visit the visit the <a href="{% url work transaction.campaign.work.id %}">project page</a>.
</p>
<p>Thank you again for your support.
</p>
<p>{{ rightsholder }} and the Unglue.it team
<p>{{ transaction.campaign.rightsholder }} and the Unglue.it team
</p>
{% endblock %}
{% endwith %}
{% endwith %}
{% endwith %}
{% endwith %}
{% endblock %}

View File

@ -1,14 +1,12 @@
{% extends "notification/notice_template.html" %}
{% load humanize %}
{% with transaction.campaign.work.title as title %}
{% url work transaction.campaign.work.id as work_url %}
{% block comments_book %}
<a href="{{ work_url }}"><img src="{{ transaction.campaign.work.cover_image_small }}" alt="cover image for {{ title }}" /></a>
<a href="{% url work transaction.campaign.work.id %}"><img src="{{ transaction.campaign.work.cover_image_small }}" alt="cover image for {{ transaction.campaign.work.title }}" /></a>
{% endblock %}
{% block comments_book %}
Your pledge for the campaign to unglue {{ title }} has been {% if up_or_down == 'canceled'%}canceled{% else %}modified{% endif %}.
Your pledge for the campaign to unglue {{ transaction.campaign.work.title }} has been {% if up_or_down == 'canceled'%}canceled{% else %}modified{% endif %}.
{% endblock %}
{% if up_or_down == 'canceled' %}
@ -23,8 +21,6 @@
Your new pledge is as follows:<br />
Amount: ${{ transaction.amount|intcomma }}<br />
Premium: {% if transaction.premium %}{{ transaction.premium.description }}{% else %}None requested{% endif %}<br />
Thank you for your continued support of {{ title }}.
Thank you for your continued support of {{ transaction.campaign.work.title }}.
{% endblock %}
{% endif %}
{% endwith %}
{% endif %}

View File

@ -1,5 +1,5 @@
{% load humanize %}{% with transaction.campaign.work.title as title %}{% with site.domain as domain %}{% with transaction.campaign.work.id as work_id %}
Thank you, {{ transaction.user.username }}! You have pledged to unglue {{ title }}. If this campaign successfully raises ${{ transaction.campaign.target|intcomma }} by {{ transaction.campaign.deadline|date:"M d Y" }}, this book will be released in an unglued ebook edition for all to enjoy.
{% load humanize %}
Thank you, {{ transaction.user.username }}! You have pledged to unglue {{ transaction.campaign.work.title }}. If this campaign successfully raises ${{ transaction.campaign.target|intcomma }} by {{ transaction.campaign.deadline|date:"M d Y" }}, this book will be released in an unglued ebook edition for all to enjoy.
Pledge summary
Amount pledged: ${{ transaction.amount|intcomma }}
@ -7,22 +7,19 @@ Premium: {% if transaction.premium %}{{ transaction.premium.description }}{% els
You can help even more by sharing this campaign with your friends.
Facebook: https://www.facebook.com/sharer.php?u=https://{{ domain }}{% url work work_id %}
Facebook: https://www.facebook.com/sharer.php?u=https://{{ site.domain }}{% url work transaction.campaign.work.id %}
Twitter: https://twitter.com/intent/tweet?url=https://{{ domain }}{% url work work_id %}&text=I%27m%20ungluing%20{{ title|urlencode }}%20at%20%40unglueit.%20Join%20me%21"
Twitter: https://twitter.com/intent/tweet?url=https://{{ site.domain }}{% url work transaction.campaign.work.id %}&text=I%27m%20ungluing%20{{ title|urlencode }}%20at%20%40unglueit.%20Join%20me%21"
You can also embed a widget for {{ title }} in your web site by copy/pasting the following:
<iframe src="https://{{ domain }}/api/widget/{{ transaction.campaign.work.first_isbn_13 }}/" width="152" height="325" frameborder="0"></iframe>
You can also embed a widget for {{ transaction.campaign.work.title }} in your web site by copy/pasting the following:
<iframe src="https://{{ site.domain }}/api/widget/{{ transaction.campaign.work.first_isbn_13 }}/" width="152" height="325" frameborder="0"></iframe>
Or the best idea: talk about it with those you love. We'll need lots of help from lots of people to make this a success.
If you want to change your pledge, just use the button at https://{{ domain }}{% url work work_id %}
If you want to change your pledge, just use the button at https://{{ site.domain }}{% url work transaction.campaign.work.id %}
If you have any problems with your pledge, don't hesitate to contact us at support@gluejar.com
Thanks for being part of Unglue.it.
{{ transaction.campaign.rightsholder }} (rights holder for {{ title }}) and the Unglue.it team
{% endwith %}
{% endwith %}
{% endwith %}
{{ transaction.campaign.rightsholder }} (rights holder for {{ transaction.campaign.work.title }}) and the Unglue.it team

View File

@ -1,27 +1,21 @@
{% extends "notification/notice_template.html" %}
{% load humanize %}
{% with transaction.campaign.work.title as title %}
{% with transaction.campaign.work.id as work_id %}
{% with transaction.amount as amount %}
{% url work work_id as work_url %}
{% url emailshare 'pledge' as pledge_url %}
{% block comments_book %}
<a href="{{ work_url }}?tab=2"><img src="{{ transaction.campaign.work.cover_image_thumbnail }}" alt="cover image for {{ title }}" /></a>
<a href="{% url work transaction.campaign.work.id %}?tab=2"><img src="{{ transaction.campaign.work.cover_image_thumbnail }}" alt="cover image for {{ transaction.campaign.work.title }}" /></a>
{% endblock %}
{% block comments_graphical %}
You've just pledged ${{ amount|intcomma }} to <a href="{{ work_url }}">{{ title }}</a>.
You've just pledged ${{ transaction.amount|intcomma }} to <a href="{% url work transaction.campaign.work.id %}">{{ transaction.campaign.work.title }}</a>.
{% endblock %}
{% block comments_textual %}
<p>Thank you, {{ transaction.user.username }}!</p>
<p>You've just pledged ${{ amount|intcomma }} to <a href="{{ work_url }}">{{ title }}</a>. If it reaches its goal of ${{ transaction.campaign.target|intcomma }} by {{ transaction.campaign.deadline|date:"M d Y"}}, it will be unglued for all to enjoy.</p>
<p>You've just pledged ${{ transaction.amount|intcomma }} to <a href="{% url work transaction.campaign.work.id %}">{{ transaction.campaign.work.title }}</a>. If it reaches its goal of ${{ transaction.campaign.target|intcomma }} by {{ transaction.campaign.deadline|date:"M d Y"}}, it will be unglued for all to enjoy.</p>
<p>You can help even more by sharing this campaign with your friends!</p>
{% include "notification/sharing_block.html" %}
<p>Thanks for being part of Unglue.it.</p>
<p>The unglue.it team.</p>
{% endblock %}
{% endwith %}{% endwith %}{% endwith %}
{% endblock %}

View File

@ -1,8 +1,7 @@
{% extends "notification/notice_template.html" %}
{% url work claim.work.id as work_url %}
{% block comments_book %}
<a href="{{ work_url }}"><img src="{{ claim.work.cover_image_small }}" alt="cover image for {{ claim.work.title }}" /></a>
<a href="{% url work claim.work.id %}"><img src="{{ claim.work.cover_image_small }}" alt="cover image for {{ claim.work.title }}" /></a>
{% endblock %}
{% block comments_graphical %}

View File

@ -1,22 +1,15 @@
{% extends "notification/notice_template.html" %}
{% load humanize %}
{% with campaign.work.id as id %}
{% with campaign.work.title as title %}
{% url pledge work_id=id as pledge_url %}
{% url work id as work_url %}
{% block comments_book %}
<a href="{{ work_url }}"><img src="{{ campaign.work.cover_image_small }}" alt="cover image for {{ title }}" /></a>
<a href="{% url work campaign.work.id %}"><img src="{{ campaign.work.cover_image_small }}" alt="cover image for {{ campaign.work.title }}" /></a>
{% endblock %}
{% block comments_graphical %}
<span>The rights holder, {{ active_claim.rights_holder.rights_holder_name }}, has launched a campaign for <a href="{{ work_url }}">{{ title }}</a>!</span>
<span>The rights holder, {{ active_claim.rights_holder.rights_holder_name }}, has launched a campaign for <a href="{% url work campaign.work.id %}">{{ title }}</a>!</span>
{% endblock %}
{% block comments_textual %}
<div>Congratulations! You wished for a campaign, and here it is. If ungluers like you pledge {{ campaign.target|intcomma }} by {{ campaign.deadline|date:"M d, Y" }}, <I>{{ title }}</i> will be released under a <a href="http://creativecommons.org">Creative Commons</a> license for all to enjoy.</div>
<div>You can help! <a href="{{ pledge_url }}">Pledge</a> any amount, and use the sharing options on the <a href="{{ work_url }}">campaign page</a> to tell your friends.</a></div>
{% endblock %}
{% endwith %}
{% endwith %}
<div>You can help! <a href="{% url pledge campaign.work.id %}">Pledge</a> any amount, and use the sharing options on the <a href="{% url work campaign.work.id %}">campaign page</a> to tell your friends.</a></div>
{% endblock %}

View File

@ -1,20 +1,13 @@
{% extends "notification/notice_template.html" %}
{% with comment.content_object.id as id %}
{% with comment.user as user %}
{% url work id as work_url %}
{% url supporter supporter_username=user as supporter_url %}
{% block comments_book %}
<a href="{{ work_url }}?tab=2"><img src="{{ comment.content_object.cover_image_small }}" alt="cover image for {{ comment.content_object.title }}" /></a>
<a href="{% url work comment.content_object.id %}?tab=2"><img src="{{ comment.content_object.cover_image_small }}" alt="cover image for {{ comment.content_object.title }}" /></a>
{% endblock %}
{% block comments_graphical %}
<a href="{{ supporter_url }}">{{ comment.user.username }}</a> has made a comment on <a href="{{ work_url }}?tab=2">{{ comment.content_object.title }}</a>
<a href="{% url comment.user.username %}">{{ comment.user.username }}</a> has made a comment on <a href="{% url work comment.content_object.id %}?tab=2">{{ comment.content_object.title }}</a>
{% endblock %}
{% block comments_textual %}
{{ comment.comment|linebreaksbr }}
{% endblock %}
{% endwith %}
{% endwith %}
{% endblock %}

View File

@ -1,10 +1,7 @@
{% extends "notification/notice_template.html" %}
{% url pledge work_id=campaign.work.id as pledge_url %}
{% url emailshare 'pledge' as emailshare_url %}
{% url work campaign.work.id as work_url %}
{% block comments_book %}
<a href="{{ work_url }}"><img src="{{ campaign.work.cover_image_small }}" alt="cover image for {{ campaign.work.title }}" /></a>
<a href="{% url work campaign.work.id %}"><img src="{{ campaign.work.cover_image_small }}" alt="cover image for {{ campaign.work.title }}" /></a>
{% endblock %}
{% block comments_graphical %}
@ -17,7 +14,7 @@
{% if pledged %}
Your pledge is helping us reach that goal. Will you help again by sharing this campaign with your friends?
{% else %}
You can help us give this book to the world by <a href="{{ pledge_url }}">pledging</a> or by sharing this campaign with your friends.
You can help us give this book to the world by <a href="{% url pledge work_id=campaign.work.id %}">pledging</a> or by sharing this campaign with your friends.
{% endif %}
{% include "notification/sharing_block.html" %}

View File

@ -1,11 +1,8 @@
{% extends "notification/notice_template.html" %}
{% load humanize %}
{% url work campaign.work.id as work_url %}
{% url pledge work_id=campaign.work.id as pledge_url %}
{% url emailshare 'pledge' as emailshare_url %}
{% block comments_book %}
<a href="{{ work_url }}"><img src="{{ campaign.work.cover_image_small }}" alt="cover image for {{ campaign.work.title }}" /></a>
<a href="{% url work campaign.work.id %}"><img src="{{ campaign.work.cover_image_small }}" alt="cover image for {{ campaign.work.title }}" /></a>
{% endblock %}
{% block comments_graphical %}
@ -17,7 +14,7 @@
{% 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 <a href="{{ pledge_url }}">pledging</a> or by sharing this campaign with your friends.
You can help us give this book to the world by <a href="{% url pledge work_id=campaign.work.id %}">pledging</a> or by sharing this campaign with your friends.
{% endif %}
{% include "notification/sharing_block.html" %}

View File

@ -1,20 +1,13 @@
{% extends "notification/notice_template.html" %}
{% with comment.content_object.id as id %}
{% with comment.user as user %}
{% url work id as work_url %}
{% url supporter supporter_username=user as supporter_url %}
{% block comments_book %}
<a href="{{ work_url }}?tab=2"><img src="{{ comment.content_object.cover_image_small }}" alt="cover image for {{ comment.content_object.title }}" /></a>
<a href="{% url work comment.content_object.id %}?tab=2"><img src="{{ comment.content_object.cover_image_small }}" alt="cover image for {{ comment.content_object.title }}" /></a>
{% endblock %}
{% block comments_graphical %}
<a href="{{ supporter_url }}">{{ comment.user.username }}</a> has made an official comment on <a href="{{ work_url }}?tab=2">{{ comment.content_object.title }}</a>
<a href="{% url supporter comment.user.username }}">{{ comment.user.username }}</a> has made an official comment on <a href="{% url work id %}?tab=2">{{ comment.content_object.title }}</a>
{% endblock %}
{% block comments_textual %}
{{ comment.comment|linebreaksbr }}
{% endblock %}
{% endwith %}
{% endwith %}
{% endblock %}

View File

@ -1,10 +1,8 @@
{% extends "notification/notice_template.html" %}
{% load humanize %}
{% url pledge work_id=campaign.work.id as pledge_url %}
{% url work campaign.work.id as work_url %}
{% block comments_book %}
<a href="{{ work_url }}"><img src="{{ campaign.work.cover_image_small }}" alt="cover image for {{ campaign.work.title }}" /></a>
<a href="{% url work campaign.work.id %}"><img src="{{ campaign.work.cover_image_small }}" alt="cover image for {{ campaign.work.title }}" /></a>
{% endblock %}
{% block comments_graphical %}
@ -17,5 +15,5 @@
Premium: {{ premium.description }}
Minimum pledge: {{ premium.amount|intcomma }}
If you'd like to claim the last one, pledge here: https://{{ site.domain }}{{ pledge_url }}
If you'd like to claim the last one, pledge here: https://{{ site.domain }}{% url pledge work_id=campaign.work.id %}
{% endblock %}

View File

@ -1,28 +1,20 @@
{% extends "notification/notice_template.html" %}
{% load humanize %}
{% with campaign.work.id as work_id %}
{% with campaign.work.title as title %}
{% url pledge work_id=work_id as pledge_url %}
{% url work work_id as work_url %}
{% url emailshare 'pledge' as emailshare_url %}
{% block comments_book %}
<a href="{{ work_url }}"><img src="{{ campaign.work.cover_image_small }}" alt="cover image for {{ title }}" /></a>
<a href="{% url work campaign.work.id %}"><img src="{{ campaign.work.cover_image_small }}" alt="cover image for {{ campaign.work.title }}" /></a>
{% endblock %}
{% block comments_graphical %}
Good news! The rights holder, {{ campaign.rightsholder }}, has lowered the target price to ${{ campaign.target|intcomma }} for {{ title }}.
Good news! The rights holder, {{ campaign.rightsholder }}, has lowered the target price to ${{ campaign.target|intcomma }} for {{ campaign.work.title }}.
{% endblock %}
{% block comments_textual %}
{% 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:
Your pledge of {{ amount|intcomma }} is now going even farther toward helping {{ campaign.work.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 }}{{ pledge_url }} . You can also help by sharing this campaign:
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 campaign.work.id %} . You can also help by sharing this campaign:
{% endif %}
{% include "notification/sharing_block.html" %}
{% endblock %}
{% endwith %}
{% endwith %}
{% endblock %}

View File

@ -1,18 +1,14 @@
{% extends "notification/notice_template.html" %}
{% with campaign.work.title as title %}
{% url work campaign.work.id as work_url %}
{% block comments_book %}
<a href="{{ work_url }}"><img src="{{ campaign.work.cover_image_small }}" alt="cover image for {{ title }}" /></a>
<a href="{% url work campaign.work.id %}"><img src="{{ campaign.work.cover_image_small }}" alt="cover image for {{ campaign.work.title }}" /></a>
{% endblock %}
{% block comments_graphical %}
Hooray! We're going to give {{ title }} to the world!
Hooray! We're going to give {{ campaign.work.title }} to the world!
{% endblock %}
{% block comments_textual %}
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 <a href="/notification/settings/">notification settings</a>, we'll tell you when the unglued ebook is ready.<br /><br />
A book on your wishlist, {{ campaign.work.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 <a href="/notification/settings/">notification settings</a>, we'll tell you when the unglued ebook is ready.<br /><br />
Thank you again!
{% endblock %}
{% endwith %}
{% endblock %}

View File

@ -1,23 +1,22 @@
{% extends "notification/notice_template.html" %}
{% load truncatechars %}
{% url work work.id as work_url %}
{% block comments_book %}
<a href="{{ work_url }}"><img src="{{ work.cover_image_small }}" alt="cover image for {{ work.title }}" /></a>
<a href="{% url work work.id %}"><img src="{{ work.cover_image_small }}" alt="cover image for {{ work.title }}" /></a>
{% endblock %}
{% block comments_graphical %}
<span><a href="{{ work_url }}">{{ work.title }}</a> is now available for download</span>
<span><a href="{% url work work.id %}">{{ work.title }}</a> is now available for download</span>
{% endblock %}
{% block comments_textual %}
{% if work.last_campaign_status == 'SUCCESSFUL' %}
<p>
Great News! <a href="{{ work_url }}">{{ work.title }}</a> which you have supported is now available for download as an Unglued Ebook.
Great News! <a href="{% url work work.id %}">{{ work.title }}</a> which you have supported is now available for download as an Unglued Ebook.
</p>
{% else %}
<p>
Good News! <a href="{{ work_url }}">{{ work.title }}</a> which is on your wishlist is available for download as a {{ work.ebooks.0.get_rights_display }} ebook.
Good News! <a href="{% url work work.id %}">{{ work.title }}</a> which is on your wishlist is available for download as a {{ work.ebooks.0.get_rights_display }} ebook.
</p>
{% if work.ebooks.0.user %}
<p>

View File

@ -1,15 +1,11 @@
{% with campaign.work.title as title %}
{% with campaign.rightsholder as rightsholder %}
Alas. The campaign to unglue {{ title }} (https://{{site.domain}}{% url work campaign.work.id %}) has not succeeded.
Alas. The campaign to unglue {{ campaign.work.title }} (https://{{site.domain}}{% url work campaign.work.id %}) has not succeeded.
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. You'll also receive an email from Amazon notifying you that your payment to Gluejar has been cancelled.
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, {{ rightsholder }}, may run a campaign with different terms in the future. With your help, we may yet be able to unglue {{ title }}.
Still want to give {{ campaign.work.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 {{ campaign.work.title }}.
There are also other books with active campaigns that need your help: https://unglue.it/campaigns/ending .
Thank you for your support.
{{ rightsholder }} (rights holder for {{ title }}) and the Unglue.it team
{% endwith %}{% endwith %}
{{ campaign.rightsholder }} (rights holder for {{ campaign.work.title }}) and the Unglue.it team

View File

@ -1,23 +1,19 @@
{% extends "notification/notice_template.html" %}
{% with campaign.work.title as title %}
{% url work campaign.work.id as work_url %}
{% block comments_book %}
<a href="{{ work_url }}"><img src="{{ campaign.work.cover_image_small }}" alt="cover image for {{ title }}" /></a>
<a href="{% url work campaign.work.id %}"><img src="{{ campaign.work.cover_image_small }}" alt="cover image for {{ campaign.work.title }}" /></a>
{% endblock %}
{% block comments_graphical %}
Alas. The campaign to unglue {{ title }} did not succeed.
Alas. The campaign to unglue {{ campaign.work.title }} did not succeed.
{% endblock %}
{% block comments_textual %}
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 }}.
Still want to give {{ campaign.work.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 {{ campaign.work.title }}.
There are also <a href="https://unglue.it/campaigns/ending">other books with active campaigns</a> that need your help.
Thank you for your support.
{% endblock %}
{% endwith %}
{% endblock %}

View File

@ -1,13 +1,9 @@
{% extends "notification/notice_template.html" %}
{% with campaign.work.title as title %}
{% url work campaign.work.id as work_url %}
{% block comments_book %}
<a href="{{ work_url }}"><img src="{{ campaign.work.cover_image_small }}" alt="cover image for {{ title }}" /></a>
<a href="{% url work campaign.work.id %}"><img src="{{ campaign.work.cover_image_small }}" alt="cover image for {{ cmapaign.work.title }}" /></a>
{% endblock %}
{% block comments_graphical %}
The rights holder, {{ campaign.rightsholder }}, has updated the campaign to unglue {{ title }}. For details, see the <a href="{{ work_url }}">campaign page</a>.
{% endblock %}
{% endwith %}
The rights holder, {{ campaign.rightsholder }}, has updated the campaign to unglue {{ campaign.work.title }}. For details, see the <a href="{% url work campaign.work.id %}">campaign page</a>.
{% endblock %}

View File

@ -1,28 +1,21 @@
{% extends "notification/notice_template.html" %}
{% with claim.work.id as work_id %}
{% with claim.work.title as title %}
{% url work work_id as work_url %}
{% url emailshare 'pledge' as emailshare_url %}
{% block comments_book %}
<a href="{{ work_url }}"><img src="{{ claim.work.cover_image_small }}" alt="cover image for {{ title }}" /></a>
<a href="{% url work claim.work.id %}"><img src="{{ claim.work.cover_image_small }}" alt="cover image for {{ claim.work.title }}" /></a>
{% endblock %}
{% block comments_graphical %}
Hooray! {{ rightsholder }} is now an approved rights holder for {{ title }}.
Hooray! {{ rightsholder }} is now an approved rights holder for {{ claim.work.title }}.
{% endblock %}
{% block comments_textual %}
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? <a href="https://{{site.domain}}{{ work_url }}?tab=2">Leave a comment</a> and tell your friends:
{{ rightsholder }} may be running a campaign soon, or later, but isn't obligated to. Want to make that campaign happen? <a href="https://{{site.domain}}{% url work claim.work.id %}?tab=2">Leave a comment</a> and tell your friends:
{% include "notification/sharing_block.html" %}
Make sure {{ rightsholder }} knows how much you want to give this book to the world.
Thanks for your help!
{% endblock %}
{% endwith %}
{% endwith %}
{% endblock %}