generated from t/malachite
16 lines
553 B
Common Lisp
16 lines
553 B
Common Lisp
(text "{%- import \"components.lisp\" as components -%}")
|
|
(text "{% for message in messages -%}")
|
|
(text "{{ components::message(message=message, is_pinned=message.id in pins) }}")
|
|
(text "{%- endfor %}")
|
|
|
|
(div
|
|
("class" "hidden")
|
|
("id" "msgs_data_{{ id }}")
|
|
("data-first-message-time" "{{ last_message_time }}"))
|
|
|
|
(text "{% if messages|length == 0 -%}")
|
|
(div
|
|
("class" "hidden")
|
|
("id" "msgs_quit_{{ id }}"))
|
|
(i ("class" "flex gap_ch items_center fade") (text "{{ icon \"star\" }} This is the start of the chat!"))
|
|
(text "{%- endif %}")
|