Adding notification count
This commit is contained in:
parent
6906455981
commit
7de3832fe7
4 changed files with 34 additions and 3 deletions
|
|
@ -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 %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue