diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2020-10-19 09:12:39 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-19 09:12:39 -0400 |
commit | c356b4bf422430cd5769c9bf90756fca2efd8451 (patch) | |
tree | 73e1fd92e068839a12839b9a214df05adbf02c7c /synapse/res/templates/room.html | |
parent | Support running synmark on macOS. (#8578) (diff) | |
download | synapse-c356b4bf422430cd5769c9bf90756fca2efd8451.tar.xz |
Include a simple message in email notifications that include encrypted content (#8545)
Diffstat (limited to 'synapse/res/templates/room.html')
-rw-r--r-- | synapse/res/templates/room.html | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/synapse/res/templates/room.html b/synapse/res/templates/room.html index b8525fef88..4fc6f6ac9b 100644 --- a/synapse/res/templates/room.html +++ b/synapse/res/templates/room.html @@ -1,23 +1,23 @@ <table class="room"> <tr class="room_header"> <td class="room_avatar"> - {% if room.avatar_url %} + {%- if room.avatar_url %} <img alt="" src="{{ room.avatar_url|mxc_to_http(48,48) }}" /> - {% else %} - {% if room.hash % 3 == 0 %} + {%- else %} + {%- if room.hash % 3 == 0 %} <img alt="" src="https://riot.im/img/external/avatar-1.png" /> - {% elif room.hash % 3 == 1 %} + {%- elif room.hash % 3 == 1 %} <img alt="" src="https://riot.im/img/external/avatar-2.png" /> - {% else %} + {%- else %} <img alt="" src="https://riot.im/img/external/avatar-3.png" /> - {% endif %} - {% endif %} + {%- endif %} + {%- endif %} </td> <td class="room_name" colspan="2"> {{ room.title }} </td> </tr> - {% if room.invite %} + {%- if room.invite %} <tr> <td></td> <td> @@ -25,9 +25,9 @@ </td> <td></td> </tr> - {% else %} - {% for notif in room.notifs %} - {% include 'notif.html' with context %} - {% endfor %} - {% endif %} + {%- else %} + {%- for notif in room.notifs %} + {%- include 'notif.html' with context %} + {%- endfor %} + {%- endif %} </table> |