fix: poll expired ui
This commit is contained in:
parent
460e87e90e
commit
0f556bb7c8
3 changed files with 8 additions and 2 deletions
|
@ -1500,11 +1500,13 @@
|
|||
(div
|
||||
("class" "flex w-full flex-wrap gap-2")
|
||||
(span ("class" "notification chip") (text "{{ total }} votes"))
|
||||
(text "{% if not poll[2] -%}")
|
||||
(span
|
||||
("class" "notification chip")
|
||||
(text "Expires in ")
|
||||
(span
|
||||
("class" "poll_date")
|
||||
("data-created" "{{ poll[0].created }}")
|
||||
("data-expires" "{{ poll[0].expires }}")))))
|
||||
("data-expires" "{{ poll[0].expires }}")))
|
||||
(text "{%- endif %}")))
|
||||
(text "{%- endmacro %}")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue