First draft async imports.
This commit is contained in:
parent
bba63e3515
commit
881cc4d64b
8 changed files with 57 additions and 56 deletions
|
@ -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 %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue