xmpp.chapril.org-conversejs/src/templates/chatroom_head.html

13 lines
605 B
HTML
Raw Normal View History

<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>
{[ } ]}
2017-02-28 08:35:23 +01:00
<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>