forked from mirrors/bookwyrm
Merge pull request #498 from mouse-reeve/notification-tweaks
Adds notifications icon for imports and follow button
This commit is contained in:
commit
0ba64200b4
1 changed files with 3 additions and 0 deletions
|
@ -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">
|
||||||
|
|
Loading…
Reference in a new issue