tawny/app/templates_src/messages.lisp

16 lines
417 B
Common Lisp
Raw Normal View History

2025-08-26 21:27:11 -04:00
(text "{%- import \"components.lisp\" as components -%}")
(text "{% for message in messages -%}")
2025-08-27 20:22:12 -04:00
(text "{{ components::message(message=message) }}")
2025-08-26 21:27:11 -04:00
(text "{%- endfor %}")
2025-08-27 20:22:12 -04:00
(div
("class" "hidden")
("id" "msgs_data_{{ id }}")
2025-08-28 20:26:38 -04:00
("data-first-message-time" "{{ last_message_time }}"))
2025-08-27 20:22:12 -04:00
(text "{% if messages|length == 0 -%}")
(div
("class" "hidden")
("id" "msgs_quit_{{ id }}"))
(text "{%- endif %}")