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.
This commit is contained in:
Jason McBrayer 2019-10-29 10:58:09 -04:00
parent 507157782d
commit d6ca91999f
1 changed files with 4 additions and 0 deletions

View File

@ -73,6 +73,10 @@ mastodon.notifications()[0]
</div>
</article>
<hr class="is-hidden">
{% elif note.type == 'poll' %}
<p>A poll you created or voted in has ended.</p>
{% include "main/toot_partial.html" with toot=note.status %}
<hr class="is-hidden">
{% endif %}
{% endfor %}