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

20 lines
837 B
HTML
Raw Normal View History

2018-02-20 16:41:55 +01:00
<div class="col-sm-9 col-lg-9">
<div class="chat-title" title="{{{o.jid}}}">
{[ if (o.name && o.name !== o.Strophe.getNodeFromJid(o.jid)) { ]}
<span class="chatroom-name">{{{ o.name }}}</span>
{[ } else { ]}
<span class="chatroom-name">{{{ o.Strophe.getNodeFromJid(o.jid) }}}</span>@{{{ o.Strophe.getDomainFromJid(o.jid) }}}
{[ } ]}
<p class="chatroom-description">{{{ o.description }}}<p/>
</div>
</div>
2018-02-20 16:41:55 +01:00
<div class="col-sm-3 col-lg-3">
<div class="chatbox-buttons row no-gutters">
<a class="chatbox-btn close-chatbox-button fa fa-sign-out" title="{{{o.info_close}}}"></a>
{[ if (o.affiliation == 'owner') { ]}
<a class="chatbox-btn configure-chatroom-button fa fa-wrench" title="{{{o.info_configure}}} "></a>
{[ } ]}
</div>
</div>