chg: [profile] added org to profile menu

pull/79/head
iglocska 2021-11-24 01:26:29 +01:00
parent 81ab202917
commit 061f3fc468
No known key found for this signature in database
GPG Key ID: BEA224F1FEF113AC
1 changed files with 3 additions and 3 deletions

View File

@ -8,10 +8,10 @@ use Cake\Routing\Router;
</a>
<div class="dropdown-menu dropdown-menu-end">
<h6 class="dropdown-header">
<div class="fw-light"><?= __('Loggin in as') ?></div>
<div class="fw-light"><?= __('Logged in as') ?></div>
<div>
<?= $this->SocialProvider->getIcon($this->request->getAttribute('identity')) ?>
<strong><?= h($this->request->getAttribute('identity')['username']) ?></strong>
[<?= h($loggedUser['organisation']['name']) ?>] <strong><?= h($this->request->getAttribute('identity')['username']) ?></strong>
</div>
</h6>
<div class="dropdown-divider"></div>
@ -35,4 +35,4 @@ use Cake\Routing\Router;
</div>
<style>
</style>
</style>