1
0
Fork 0

First draft async imports.

This commit is contained in:
Adam Kelly 2020-04-20 17:10:19 +01:00
parent bba63e3515
commit 881cc4d64b
8 changed files with 57 additions and 56 deletions

View file

@ -14,6 +14,7 @@
{% for notification in notifications %}
<div class="notification{% if notification.id in unread %} unread{% endif %}">
<small class="time-ago">{{ notification.created_date | naturaltime }}</small>
{% if notification.related_user %}
{% include 'snippets/username.html' with user=notification.related_user %}
{% if notification.notification_type == 'FAVORITE' %}
favorited your
@ -36,6 +37,10 @@
{% elif notification.notification_type == 'BOOST' %}
boosted your <a href="{{ notification.related_status.absolute_id}}">status</a>
{% endif %}
{% else %}
your <a href="{{ notification.related_status.absolute_id }}">import</a> succeeded.
{% endif %}
</div>
{% endfor %}
{% if not notifications %}