Skip to content

Commit

Permalink
pluralizing recipient counts on send-page. added a AUTHORS file to tr…
Browse files Browse the repository at this point in the history
…ack contributions.
  • Loading branch information
arneb committed May 8, 2009
1 parent e5161a8 commit 4fc7b45
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions AUTHORS
@@ -0,0 +1,2 @@
Arne Brodowski
Philipp Bosch
4 changes: 3 additions & 1 deletion campaign/templates/admin/campaign/campaign/send_object.html
Expand Up @@ -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>
Expand Down

0 comments on commit 4fc7b45

Please sign in to comment.