mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-12-30 05:16:10 -05:00
1519572961
move the example email templates into the synapse package so that they can be used as package data, which should mean that all of the packaging mechanisms (pip, docker, debian, arch, etc) should now come with the example templates. In order to grandfather in people who relied on the templates being in the old place, check for that situation and fall back to using the defaults if the templates directory does not exist.
17 lines
565 B
Plaintext
17 lines
565 B
Plaintext
{% for message in notif.messages %}
|
|
{% if message.msgtype == "m.emote" %}* {% endif %}{{ message.sender_name }} ({{ message.ts|format_ts("%H:%M") }})
|
|
{% if message.msgtype == "m.text" %}
|
|
{{ message.body_text_plain }}
|
|
{% elif message.msgtype == "m.emote" %}
|
|
{{ message.body_text_plain }}
|
|
{% elif message.msgtype == "m.notice" %}
|
|
{{ message.body_text_plain }}
|
|
{% elif message.msgtype == "m.image" %}
|
|
{{ message.body_text_plain }}
|
|
{% elif message.msgtype == "m.file" %}
|
|
{{ message.body_text_plain }}
|
|
{% endif %}
|
|
{% endfor %}
|
|
|
|
View {{ room.title }} at {{ notif.link }}
|