f84790e68c
Also made some styling changes and tweaked the room head to better differentiate between the Name and JID of a room.
13 lines
605 B
HTML
13 lines
605 B
HTML
<a class="chatbox-btn close-chatbox-button icon-close" title="{{{info_close}}}"></a>
|
|
{[ if (affiliation == 'owner') { ]}
|
|
<a class="chatbox-btn configure-chatroom-button icon-wrench" title="{{{info_configure}}} "></a>
|
|
{[ } ]}
|
|
<div class="chat-title" title="{{{jid}}}">
|
|
{[ if (name && name !== Strophe.getNodeFromJid(jid)) { ]}
|
|
<span class="chatroom-name">{{{ name }}}</span>
|
|
{[ } else { ]}
|
|
<span class="chatroom-name">{{{ Strophe.getNodeFromJid(jid) }}}</span>@{{{ Strophe.getDomainFromJid(jid) }}}
|
|
{[ } ]}
|
|
<p class="chatroom-description">{{{ description }}}<p/>
|
|
</div>
|