From d6ca91999fc0d54edd366a0917a2ef33b33949a0 Mon Sep 17 00:00:00 2001 From: Jason McBrayer Date: Tue, 29 Oct 2019 10:58:09 -0400 Subject: [PATCH] Basically support 'poll' type notifications. They could be better, e.g. discriminating between polls you created and polls you voted in, but I'm disinclined to put in the effort. --- brutaldon/templates/main/notifications.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/brutaldon/templates/main/notifications.html b/brutaldon/templates/main/notifications.html index b2bb524..d6ab510 100644 --- a/brutaldon/templates/main/notifications.html +++ b/brutaldon/templates/main/notifications.html @@ -73,6 +73,10 @@ mastodon.notifications()[0] +{% elif note.type == 'poll' %} +

A poll you created or voted in has ended.

+ {% include "main/toot_partial.html" with toot=note.status %} + {% endif %} {% endfor %}