mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-07 23:34:27 +02:00
Always show 'Accounts' in the profile menu
This commit is contained in:
parent
544b926c9e
commit
e9b44c362e
1 changed files with 1 additions and 3 deletions
|
@ -316,9 +316,7 @@ class Nav
|
||||||
$nav['messages']['outbox'] = ['message/sent', $this->l10n->t('Outbox'), '', $this->l10n->t('Outbox')];
|
$nav['messages']['outbox'] = ['message/sent', $this->l10n->t('Outbox'), '', $this->l10n->t('Outbox')];
|
||||||
$nav['messages']['new'] = ['message/new', $this->l10n->t('New Message'), '', $this->l10n->t('New Message')];
|
$nav['messages']['new'] = ['message/new', $this->l10n->t('New Message'), '', $this->l10n->t('New Message')];
|
||||||
|
|
||||||
if (User::hasIdentities($this->session->getSubManagedUserId() ?: $this->session->getLocalUserId())) {
|
$nav['delegation'] = ['delegation', $this->l10n->t('Accounts'), '', $this->l10n->t('Manage other pages')];
|
||||||
$nav['delegation'] = ['delegation', $this->l10n->t('Accounts'), '', $this->l10n->t('Manage other pages')];
|
|
||||||
}
|
|
||||||
|
|
||||||
$nav['settings'] = ['settings', $this->l10n->t('Settings'), '', $this->l10n->t('Account settings')];
|
$nav['settings'] = ['settings', $this->l10n->t('Settings'), '', $this->l10n->t('Account settings')];
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue