mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-14 07:33:47 +01:00
fa12209c1b
Add public facing base url to the server so synapse knows what URL to use when converting mxc to http urls for use in emails
21 lines
705 B
HTML
21 lines
705 B
HTML
<div class="room">
|
|
<h2>{{ room.title }}</h2>
|
|
<div class="room_avatar">
|
|
{% if room.avatar_url %}
|
|
<img src="{{ room.avatar_url|mxc_to_http(48,48) }}" />
|
|
{% else %}
|
|
{% if room.hash % 3 == 0 %}
|
|
<img src="https://vector.im/beta/img/76cfa6.png" />
|
|
{% elif room.hash % 3 == 1 %}
|
|
<img src="https://vector.im/beta/img/50e2c2.png" />
|
|
{% else %}
|
|
<img src="https://vector.im/beta/img/f4c371.png" />
|
|
{% endif %}
|
|
{% endif %}
|
|
</div>
|
|
<div>
|
|
{% for notif in room.notifs %}
|
|
{% include 'notif.html' with context %}
|
|
{% endfor %}
|
|
</div>
|
|
</div>
|