summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorAndrew Godwin2022-12-05 22:14:50 -0700
committerAndrew Godwin2022-12-05 22:15:05 -0700
commitb0929214d5c4f6df743256cacfb04337b9319aa4 (patch)
tree560ab167bf69148e753db1c35c9d5921dfca0dbe /templates
parent64cea557bebdb0a5b4f17362d8e66845b0a77113 (diff)
downloadtakahe-b0929214d5c4f6df743256cacfb04337b9319aa4.tar.gz
takahe-b0929214d5c4f6df743256cacfb04337b9319aa4.tar.bz2
takahe-b0929214d5c4f6df743256cacfb04337b9319aa4.zip
Allow selecting notification types to see
Diffstat (limited to 'templates')
-rw-r--r--templates/activities/notifications.html23
1 files changed, 23 insertions, 0 deletions
diff --git a/templates/activities/notifications.html b/templates/activities/notifications.html
index 2d0a434..890a2ad 100644
--- a/templates/activities/notifications.html
+++ b/templates/activities/notifications.html
@@ -3,6 +3,29 @@
{% block title %}Notifications{% endblock %}
{% block content %}
+ <div class="view-options">
+ {% if notification_options.followed %}
+ <a href=".?followed=false" class="selected"><i class="fa-solid fa-check"></i> Followers</a>
+ {% else %}
+ <a href=".?followed=true"><i class="fa-solid fa-xmark"></i> Followers</a>
+ {% endif %}
+ {% if notification_options.boosted %}
+ <a href=".?boosted=false" class="selected"><i class="fa-solid fa-check"></i> Boosts</a>
+ {% else %}
+ <a href=".?boosted=true"><i class="fa-solid fa-xmark"></i> Boosts</a>
+ {% endif %}
+ {% if notification_options.liked %}
+ <a href=".?liked=false" class="selected"><i class="fa-solid fa-check"></i> Likes</a>
+ {% else %}
+ <a href=".?liked=true"><i class="fa-solid fa-xmark"></i> Likes</a>
+ {% endif %}
+ {% if notification_options.mentioned %}
+ <a href=".?mentioned=false" class="selected"><i class="fa-solid fa-check"></i> Mentions</a>
+ {% else %}
+ <a href=".?mentioned=true"><i class="fa-solid fa-xmark"></i> Mentions</a>
+ {% endif %}
+ </div>
+
{% for event in events %}
{% include "activities/_event.html" %}
{% empty %}