💄 (admin): show connected user avatar
This commit is contained in:
parent
e84397962a
commit
1c7ea1fe4d
1 changed files with 2 additions and 1 deletions
|
@ -93,7 +93,8 @@
|
|||
</div>
|
||||
</li>
|
||||
<li class="nav-item dropdown ms-1">
|
||||
<a class="nav-link dropdown-toggle" href="#" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
||||
<a class="nav-link dropdown-toggle p-1" href="#" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
||||
<?php echo '<img class="profilePicture me-1" alt="" src="'.(Sanitize::pathFile(PATH_UPLOADS_PROFILES.$login->getUserData()->username().'.png')?DOMAIN_UPLOADS_PROFILES.$login->getUserData()->username().'.png':HTML_PATH_CORE_IMG.'default.svg').'" />'; ?>
|
||||
<?php echo $login->getUserData()->displayName(); ?>
|
||||
</a>
|
||||
<ul class="dropdown-menu dropdown-menu-end">
|
||||
|
|
Loading…
Reference in a new issue