diff options
Diffstat (limited to 'templates/base.html')
-rw-r--r-- | templates/base.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/base.html b/templates/base.html index 4998bb4..2ed2687 100644 --- a/templates/base.html +++ b/templates/base.html @@ -132,15 +132,15 @@ {% if user.is_authenticated %} <li><a href="/task/browse/" title="tasks">tasks</a></li> <li><a href="/user/notifications/" title="notifications"> - {% if user.unread_notifications %} - notifications({{user.unread_notifications}}) + {% if user.unread_notifications.count %} + notifications({{user.unread_notifications.count}}) {% else %} notifications {% endif %} </a></li> <li><a href="/user/requests/" title="Requests"> - {% if user.unread_requests %} - requests({{user.unread_requests}}) + {% if user.unread_requests.count %} + requests({{user.unread_requests.count}}) {% else %} requests {% endif %} |