mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-27 03:58:06 +03:00
Display public room topics if they exist on the public room list.
This commit is contained in:
parent
324020d5fe
commit
df50a6823f
2 changed files with 10 additions and 0 deletions
|
@ -276,6 +276,13 @@ a:active { color: #000; }
|
||||||
float: right;
|
float: right;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.publicRoomTopic {
|
||||||
|
color: #888;
|
||||||
|
font-size: 12px;
|
||||||
|
padding-right: 5px;
|
||||||
|
float: right;
|
||||||
|
}
|
||||||
|
|
||||||
#roomName {
|
#roomName {
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
|
|
|
@ -34,6 +34,9 @@
|
||||||
ng-show="room.num_joined_members">
|
ng-show="room.num_joined_members">
|
||||||
{{ room.num_joined_members }} {{ room.num_joined_members == 1 ? 'user' : 'users' }}
|
{{ room.num_joined_members }} {{ room.num_joined_members == 1 ? 'user' : 'users' }}
|
||||||
</div>
|
</div>
|
||||||
|
<div class="publicRoomTopic" ng-show="room.topic">
|
||||||
|
{{ room.topic }}
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<br/>
|
<br/>
|
||||||
|
|
Loading…
Reference in a new issue