diff options
author | David Baker <dave@matrix.org> | 2016-04-28 17:29:39 +0100 |
---|---|---|
committer | David Baker <dave@matrix.org> | 2016-04-28 17:29:39 +0100 |
commit | 46b5547a4227ec29e0b71e2138a2ebade39724ca (patch) | |
tree | 0da53e6463d5ff9589c2185d8e5e6b0197c0685b /res/templates/room.html | |
parent | Fix notification link (diff) | |
download | synapse-46b5547a4227ec29e0b71e2138a2ebade39724ca.tar.xz |
Some basic css to make it halfway legible
Diffstat (limited to '')
-rw-r--r-- | res/templates/room.html | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/res/templates/room.html b/res/templates/room.html index 6c68ee1fdc..3c0a4607b3 100644 --- a/res/templates/room.html +++ b/res/templates/room.html @@ -1,5 +1,4 @@ <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) }}" /> @@ -13,13 +12,14 @@ {% endif %} {% endif %} </div> - {% if room.invite %} - <a href="{{ room.link }}">Join the conversation.</a> - {% else %} - <div> + <h2>{{ room.title }}</h2> + <div class="room_content"> + {% if room.invite %} + <a href="{{ room.link }}">Join the conversation.</a> + {% else %} {% for notif in room.notifs %} {% include 'notif.html' with context %} {% endfor %} - </div> - {% endif %} + {% endif %} + </div> </div> |