From b0929214d5c4f6df743256cacfb04337b9319aa4 Mon Sep 17 00:00:00 2001
From: Andrew Godwin
Date: Mon, 5 Dec 2022 22:14:50 -0700
Subject: Allow selecting notification types to see

---
 templates/activities/notifications.html | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

(limited to 'templates')

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 %}
-- 
cgit v1.2.3