mirror of https://github.com/snachodog/mybuddy.git
Add pluralize check to naps count card.
This commit is contained in:
parent
d293fd7740
commit
84e96c046f
|
@ -5,7 +5,7 @@
|
|||
|
||||
{% block title %}
|
||||
{% if count %}
|
||||
<strong>{{ count }} naps</strong>
|
||||
<strong>{{ count }}</strong> nap{{ count|pluralize }}
|
||||
{% else %}
|
||||
<i class="icon icon-sad" aria-hidden="true"></i>
|
||||
<strong>None yet today</strong>
|
||||
|
|
Loading…
Reference in New Issue