add option to show the avatar instead of the logo

This commit is contained in:
Simon Vieille
2020-09-18 11:09:01 +02:00
parent 85c25f0fc7
commit e5dd893774
5 changed files with 39 additions and 2 deletions
+4
View File
@@ -13,6 +13,10 @@
<?php if ($_['force-light-icon']): ?>
sideMenuContainer.attr('data-forcelighticon', '1')
<?php endif; ?>
<?php if ($_['avatar']): ?>
sideMenuContainer.attr('data-avatar', '<?php p($avatar) ?>')
<?php endif; ?>
sideMenuContainer.attr('data-targetblankapps', '<?php p(implode(',', $_['target-blank-apps'])) ?>')