Skip to content
Browse files

pluralizing recipient counts on send-page. added a AUTHORS file to tr…

…ack contributions.
  • Loading branch information...
1 parent e5161a8 commit 4fc7b450f7eda0e759f50688a88b38e01922c6f0 @arneb arneb committed May 8, 2009
Showing with 5 additions and 1 deletion.
  1. +2 −0 AUTHORS
  2. +3 −1 campaign/templates/admin/campaign/campaign/send_object.html
View
2 AUTHORS
@@ -0,0 +1,2 @@
+Arne Brodowski
+Philipp Bosch
View
4 campaign/templates/admin/campaign/campaign/send_object.html
@@ -31,7 +31,9 @@
<h3>{% trans "Subscriber lists" %}</h3>
<ul>
{% for subscriber_list in object.recipients.all %}
- <li><strong>{{ subscriber_list.name }}</strong> – {% blocktrans with subscriber_list.subscribers.count as subscriber_count %}{{ subscriber_count }} recipients{% endblocktrans %}</li>
+ {% with subscriber_list.subscribers.count as subscribercount %}
+ <li><strong>{{ subscriber_list.name }}</strong> – {% blocktrans with subscribercount as subscriber_count and subscribercount|pluralize as pluralized %}{{ subscriber_count }} recipient{{ pluralized }}{% endblocktrans %}</li>
+ {% endwith %}
{% endfor %}
</ul>
</div>

0 comments on commit 4fc7b45

Please sign in to comment.
Something went wrong with that request. Please try again.