Adding notification count

This commit is contained in:
Yusur 2019-05-22 18:25:08 +02:00
parent 6906455981
commit 7de3832fe7
4 changed files with 34 additions and 3 deletions

View file

@ -3,6 +3,9 @@
{% if notification.type == 'follow' %}
{% set user = User[detail['user']] %}
<p><a href="/+{{ user.username }}">{{ user.username }}</a> started following you.</p>
{% elif notification.type == 'mention' %}
{% set user = User[detail['user']] %}
<p><a href="/+{{ user.username }}">{{ user.username }}</a> mentioned you in a message.</p>
{% else %}
<p>Unknown Notification</p>
{% endif %}