mirror of https://gitlab.com/brutaldon/brutaldon
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:
parent
507157782d
commit
d6ca91999f
|
@ -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 %}
|
||||
|
||||
|
|
Loading…
Reference in New Issue