xmpp.chapril.org-conversejs/src/templates/chatroom_head.html
JC Brand f84790e68c muc: Show JID (instead of only server) in room info
Also made some styling changes and tweaked the room head to better
differentiate between the Name and JID of a room.
2017-07-19 08:30:04 +02:00

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>