aboutsummaryrefslogtreecommitdiffstats
path: root/src/templates/appoll_item.html
diff options
context:
space:
mode:
authorConfuSomu2023-07-18 00:00:20 +0200
committerConfuSomu2023-07-18 00:00:20 +0200
commit5ed7d9b53a65aec1f4793f62ac15195c44224b39 (patch)
tree20f59b643ab185abc8eeecb6338d565ed36febda /src/templates/appoll_item.html
parente322946df7c33f76dbee46ec5b8e2118fbae8a26 (diff)
downloadActorViewer-5ed7d9b53a65aec1f4793f62ac15195c44224b39.tar
ActorViewer-5ed7d9b53a65aec1f4793f62ac15195c44224b39.tar.gz
ActorViewer-5ed7d9b53a65aec1f4793f62ac15195c44224b39.zip
Implement Question object type support
This commit adds support for dealing with ActivityPub Questions, which are polls. They are like Notes (posts) but contain a few more keys that record information about the poll options, number of votes and poll closure date.
Diffstat (limited to 'src/templates/appoll_item.html')
-rw-r--r--src/templates/appoll_item.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/templates/appoll_item.html b/src/templates/appoll_item.html
new file mode 100644
index 0000000..2ce6967
--- /dev/null
+++ b/src/templates/appoll_item.html
@@ -0,0 +1 @@
+<li><b>{{name}}</b> {{votes}} votes ({{votes-percent}}%)</li>