chg: [layout:header-profile] Improved spacing

pull/85/head
Sami Mokaddem 2022-01-19 09:33:57 +01:00
parent b42941dc8e
commit 1d7fc00a65
No known key found for this signature in database
GPG Key ID: 164C473F627A06FA
1 changed files with 4 additions and 1 deletions

View File

@ -11,7 +11,10 @@ use Cake\Routing\Router;
<div class="fw-light"><?= __('Logged in as') ?></div>
<div>
<?= $this->SocialProvider->getIcon($this->request->getAttribute('identity')) ?>
[<?= h($loggedUser['organisation']['name']) ?>] <strong><?= h($this->request->getAttribute('identity')['username']) ?></strong>
<span class="ms-1 me-3">
[<?= h($loggedUser['organisation']['name']) ?>]
<strong><?= h($this->request->getAttribute('identity')['username']) ?></strong>
</span>
</div>
</h6>
<div class="dropdown-divider"></div>