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

20 lines
965 B
HTML
Raw Normal View History

<div class="chatbox-navback"><i class="fa fa-arrow-left"></i></div>
<div class="chatbox-title">
2018-02-20 16:41:55 +01:00
<div class="chat-title" title="{{{o.jid}}}">
{[ if (o.name && o.name !== o.Strophe.getNodeFromJid(o.jid)) { ]}
2018-04-27 14:16:34 +02:00
{{{ o.name }}}
2018-02-20 16:41:55 +01:00
{[ } else { ]}
2018-04-27 14:16:34 +02:00
{{{ o.Strophe.getNodeFromJid(o.jid) }}}@{{{ o.Strophe.getDomainFromJid(o.jid) }}}
2018-02-20 16:41:55 +01:00
{[ } ]}
</div>
<!-- Sanitized in converse-muc-views. We want to render links. -->
<p class="chatroom-description" title="{{{o.description}}}">{{o.description}}</p>
</div>
<div class="chatbox-buttons row no-gutters">
2018-09-06 17:09:47 +02:00
<a class="chatbox-btn close-chatbox-button fa fa-sign-out-alt" title="{{{o.info_close}}}"></a>
{[ if (o.affiliation == 'owner') { ]}
<a class="chatbox-btn configure-chatroom-button fa fa-wrench" title="{{{o.info_configure}}} "></a>
{[ } ]}
<a class="chatbox-btn show-room-details-modal fa fa-info-circle" title="{{{o.info_details}}}"></a>
2018-02-20 16:41:55 +01:00
</div>