mirror of
https://github.com/friendica/friendica
synced 2025-05-10 04:24:09 +02:00
[Suggestion] Move New User Tip Link (#5342)
* Move new member tips to navigation bar. The link looks so forlorn when its just somewhere in there. Put it in the nav bar. * Style new member hints link propery. * Make changes requested by @MrPetovan.
This commit is contained in:
parent
ff1074d38f
commit
09b7e217c7
5 changed files with 20 additions and 7 deletions
|
@ -947,6 +947,16 @@ class Profile
|
|||
];
|
||||
}
|
||||
|
||||
if (!empty($_SESSION['new_member']) && $is_owner) {
|
||||
$tabs[] = [
|
||||
'label' => L10n::t('Tips for New Members'),
|
||||
'url' => System::baseUrl() . '/newmember',
|
||||
'sel' => false,
|
||||
'title' => L10n::t('Tips for New Members'),
|
||||
'id' => 'newmember-tab',
|
||||
];
|
||||
}
|
||||
|
||||
if (!$is_owner && empty($a->profile['hide-friends'])) {
|
||||
$tabs[] = [
|
||||
'label' => L10n::t('Contacts'),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue