mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-12-30 17:06:09 -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.
10 lines
210 B
Plaintext
10 lines
210 B
Plaintext
{{ room.title }}
|
|
|
|
{% if room.invite %}
|
|
You've been invited, join at {{ room.link }}
|
|
{% else %}
|
|
{% for notif in room.notifs %}
|
|
{% include 'notif.txt' with context %}
|
|
{% endfor %}
|
|
{% endif %}
|