include clickable links, make grammar singular/plural sensitive
parent
503049afee
commit
2216369bbf
|
@ -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
|
||||
|
|
|
@ -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
|
Loading…
Reference in New Issue