Adds icon for imports and follow button

This commit is contained in:
Mouse Reeve 2021-01-06 18:02:46 -08:00
parent 53e34cf7de
commit 3eae55ef4e

View file

@ -27,6 +27,8 @@
<span class="icon icon-boost"></span> <span class="icon icon-boost"></span>
{% elif notification.notification_type == 'FAVORITE' %} {% elif notification.notification_type == 'FAVORITE' %}
<span class="icon icon-heart"></span> <span class="icon icon-heart"></span>
{% elif notification.notification_type == 'IMPORT' %}
<span class="icon icon-list"></span>
{% endif %} {% endif %}
</div> </div>
<div class="column"> <div class="column">
@ -50,6 +52,7 @@
<a href="{{ related_status.reply_parent.local_path }}">{{ related_status | status_preview_name|safe }}</a> <a href="{{ related_status.reply_parent.local_path }}">{{ related_status | status_preview_name|safe }}</a>
{% elif notification.notification_type == 'FOLLOW' %} {% elif notification.notification_type == 'FOLLOW' %}
followed you followed you
{% include 'snippets/follow_button.html' with user=notification.related_user %}
{% elif notification.notification_type == 'FOLLOW_REQUEST' %} {% elif notification.notification_type == 'FOLLOW_REQUEST' %}
sent you a follow request sent you a follow request
<div class="row shrink"> <div class="row shrink">