include clickable links, make grammar singular/plural sensitive

pull/1/head
Andromeda Yelton 2012-09-18 10:16:08 -04:00
parent 503049afee
commit 2216369bbf
2 changed files with 3 additions and 2 deletions

View File

@ -222,7 +222,8 @@ def handle_wishlist_added(supporter, work, **kwargs):
if claim:
notification.queue([claim[0].user], "new_wisher", {
'supporter': supporter,
'work': work
'work': work,
'base_url': settings.BASE_URL,
}, True)
from regluit.core.tasks import emit_notifications

View File

@ -1,4 +1,4 @@
{{ supporter }} has wished for a work you hold rights to, {{ work.title }}. Hooray! There are now {{ work.num_wishes }} people wishing for this work.
{{ supporter }} ({{ base_url }}{% url supporter supporter.username %}) has wished for a work you hold rights to, {{ work.title }} ({{ base_url }}{% url work work.id %}). Hooray! {% with work.num_wishes as num_wishes %}{% if num_wishes = 1 %}Your first ungluer!{% else %}There are now {{ num_wishes }} people wishing for this work.{% endif %}{% endwith %}
The Unglue.it team