2018-05-18 12:03:03 +02:00
|
|
|
<div class="userinfo controlbox-padded">
|
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="#">
|
2018-09-06 15:22:14 +02:00
|
|
|
<canvas alt="o.__('Your avatar')" class="avatar align-self-center" height="40" width="40"></canvas>
|
2018-02-23 16:32:47 +01:00
|
|
|
</a>
|
2018-02-15 15:50:55 +01:00
|
|
|
<span class="username w-100 align-self-center">{{{o.fullname}}}</span>
|
2018-09-06 15:22:14 +02:00
|
|
|
<!-- <a class="chatbox-btn fa fa-id-card 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) { ]}
|
2018-09-06 13:37:55 +02:00
|
|
|
<a class="chatbox-btn logout fa fa-sign-out-alt align-self-center" title="{{{o.title_log_out}}}"></a>
|
2018-03-25 10:43:56 +02:00
|
|
|
{[ } ]}
|
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>
|