Permalink
Browse files

Pluralize days properly.

  • Loading branch information...
1 parent 1ea3498 commit 74a1f93508d9d1686d3dab041bf699c3366e20cf @onyxfish onyxfish committed Apr 18, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 client/templates/dashboard.html
@@ -26,15 +26,15 @@
<h3>Most active in the last 30 days</h3>
<ul>
{% for user in most_active_users %}
- <li><a href="mailto:{{ user.email }}">{{ user.email }}</a> (used on {{ user.activity_logs__count }} days)</li>
+ <li><a href="mailto:{{ user.email }}">{{ user.email }}</a> (used on {{ user.activity_logs__count }} day{{ user.activity_logs__count|pluralize }})</li>
{% endfor %}
</ul>
</div>
<div class="span6">
<h3>Least active in the last 30 days</h3>
<ul>
{% for user in least_active_users %}
- <li><a href="mailto:{{ user.email }}">{{ user.email }}</a> (used on {{ user.activity_logs__count }} days)</li>
+ <li><a href="mailto:{{ user.email }}">{{ user.email }}</a> (used on {{ user.activity_logs__count }} day{{ user.activity_logs__count|pluralize }})</li>
{% endfor %}
</ul>
</div>

0 comments on commit 74a1f93

Please sign in to comment.