Add pluralize check to naps count card.

This commit is contained in:
Christopher Charbonneau Wells 2017-10-24 10:08:49 -04:00
parent d293fd7740
commit 84e96c046f
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@
{% block title %} {% block title %}
{% if count %} {% if count %}
<strong>{{ count }} naps</strong> <strong>{{ count }}</strong> nap{{ count|pluralize }}
{% else %} {% else %}
<i class="icon icon-sad" aria-hidden="true"></i> <i class="icon icon-sad" aria-hidden="true"></i>
<strong>None yet today</strong> <strong>None yet today</strong>