2018-02-15 15:50:55 +01:00
|
|
|
<div class="userinfo">
|
2018-03-17 12:42:17 +01:00
|
|
|
<div class="profile d-flex">
|
2018-02-23 16:32:47 +01:00
|
|
|
<a class="show-profile" href="#">
|
|
|
|
<img alt="User Avatar" class="avatar align-self-center" height="40px" width="40px" src="data:{{{o.image_type}}};base64,{{{o.image}}}"/>
|
|
|
|
</a>
|
2018-02-15 15:50:55 +01:00
|
|
|
<span class="username w-100 align-self-center">{{{o.fullname}}}</span>
|
2018-02-19 22:12:50 +01:00
|
|
|
<!-- <a class="chatbox-btn fa fa-vcard align-self-center" title="{{{o.title_your_profile}}}" data-toggle="modal" data-target="#userProfileModal"></a> -->
|
2018-02-20 15:56:58 +01:00
|
|
|
<!-- <a class="chatbox-btn fa fa-cog align-self-center" title="{{{o.title_change_status}}}" data-toggle="modal" data-target="#settingsModal"></a> -->
|
2018-03-25 10:43:56 +02:00
|
|
|
{[ if (o._converse.allow_logout) { ]}
|
|
|
|
<a class="chatbox-btn logout fa fa-sign-out align-self-center" title="{{{o.title_log_out}}}"></a>
|
|
|
|
{[ } ]}
|
2018-02-15 15:50:55 +01:00
|
|
|
</div>
|
|
|
|
<div class="d-flex xmpp-status">
|
|
|
|
<span class="{{{o.chat_status}}} w-100 align-self-center" data-value="{{{o.chat_status}}}">
|
2018-02-21 16:10:13 +01:00
|
|
|
<span class="fa
|
|
|
|
{[ if (o.chat_status === 'online') { ]} fa-circle {[ } ]}
|
2018-03-17 18:13:51 +01:00
|
|
|
{[ if (o.chat_status === 'dnd') { ]} fa-minus-circle {[ } ]}
|
2018-02-21 16:10:13 +01:00
|
|
|
{[ if (o.chat_status === 'away') { ]} fa-dot-circle-o {[ } ]}
|
|
|
|
{[ if (o.chat_status === 'xa') { ]} fa-circle-o {[ } ]}
|
|
|
|
{[ if (o.chat_status === 'offline') { ]} fa-times-circle {[ } ]}"></span> {{{o.status_message}}}</span>
|
2018-02-21 12:31:25 +01:00
|
|
|
<a class="chatbox-btn change-status fa fa-pencil" title="{{{o.title_change_status}}}" data-toggle="modal" data-target="#changeStatusModal"></a>
|
2018-02-15 15:50:55 +01:00
|
|
|
</div>
|
|
|
|
</div>
|