new feature: display user name on user menu header
parent
5d32e53081
commit
006add66c4
|
@ -67,6 +67,17 @@
|
||||||
.newFileMenu > ul:nth-child(1) > li:nth-child(3) {
|
.newFileMenu > ul:nth-child(1) > li:nth-child(3) {
|
||||||
order: 1;
|
order: 1;
|
||||||
}
|
}
|
||||||
|
#header .header-right > div > .menu.settings-menu > ul li.onlytext {
|
||||||
|
display: inline-flex;
|
||||||
|
align-items: center;
|
||||||
|
height: 44px;
|
||||||
|
color: var(--color-main-text);
|
||||||
|
padding: 10px 35px;
|
||||||
|
box-sizing: border-box;
|
||||||
|
white-space: nowrap;
|
||||||
|
position: relative;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body id="<?php p($_['bodyid']);?>">
|
<body id="<?php p($_['bodyid']);?>">
|
||||||
|
@ -123,6 +134,7 @@
|
||||||
<nav class="settings-menu" id="expanddiv" style="display:none;"
|
<nav class="settings-menu" id="expanddiv" style="display:none;"
|
||||||
aria-label="<?php p($l->t('Settings menu'));?>">
|
aria-label="<?php p($l->t('Settings menu'));?>">
|
||||||
<ul>
|
<ul>
|
||||||
|
<li class="onlytext"><?php p($_['user_displayname']); ?></li>
|
||||||
<?php foreach ($_['settingsnavigation'] as $entry):?>
|
<?php foreach ($_['settingsnavigation'] as $entry):?>
|
||||||
<li data-id="<?php p($entry['id']); ?>">
|
<li data-id="<?php p($entry['id']); ?>">
|
||||||
<a href="<?php print_unescaped($entry['href']); ?>"
|
<a href="<?php print_unescaped($entry['href']); ?>"
|
||||||
|
|
Loading…
Reference in New Issue