[Web] Fix administrator badge for xmpp users, fixes #3977
parent
8c6b512f05
commit
67bedb3fb6
|
@ -212,7 +212,7 @@ elseif (isset($_SESSION['mailcow_cc_role']) && $_SESSION['mailcow_cc_role'] == '
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-9 col-xs-7">
|
<div class="col-md-9 col-xs-7">
|
||||||
<p><?=$mailboxdata['local_part'];?>@<b><?=$mailboxdata['domain_xmpp_prefix'];?>.<?=$mailboxdata['domain'];?></b>
|
<p><?=$mailboxdata['local_part'];?>@<b><?=$mailboxdata['domain_xmpp_prefix'];?>.<?=$mailboxdata['domain'];?></b>
|
||||||
<?php if ($mailboxdata['attributes']['xmpp_access'] == 1) { ?>
|
<?php if ($mailboxdata['attributes']['xmpp_admin'] == 1) { ?>
|
||||||
<div class="label label-warning">Administrator</div>
|
<div class="label label-warning">Administrator</div>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
</p>
|
</p>
|
||||||
|
|
Loading…
Reference in New Issue