Added roomName, a directive to compute a room name based on its alias (not aliases for now) and its users displaynames or ids

This commit is contained in:
Emmanuel ROHEE 2014-09-01 18:50:39 +02:00
parent 99ce820cc8
commit 7d99cee3ef
4 changed files with 45 additions and 5 deletions

View file

@ -3,7 +3,7 @@
<div id="roomHeader">
<a href ng-click="goToPage('/')"><img src="img/logo-small.png" width="100" height="43" alt="[matrix]"/></a>
<div id="roomName">
{{ room_alias || room_id }}
{{ room_id | roomName }}
</div>
</div>