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 %}
|
{% 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>
|
||||||
|
|
Loading…
Reference in New Issue