Show network public feed link in PublicGroupNav
This commit is contained in:
parent
551c69ed56
commit
26631bf9e6
@ -64,6 +64,12 @@ class PublicGroupNav extends Menu
|
||||
// TRANS: Menu item title in search group navigation panel.
|
||||
_('Public timeline'), $this->actionName == 'public', 'nav_timeline_public');
|
||||
}
|
||||
if (!$this->scoped instanceof Profile && common_config('public', 'localonly')) {
|
||||
// TRANS: Menu item in search group navigation panel.
|
||||
$this->out->menuItem(common_local_url('networkpublic'), _m('MENU','Network'),
|
||||
// TRANS: Menu item title in search group navigation panel.
|
||||
_('Network public timeline'), $this->actionName == 'networkpublic', 'nav_timeline_networkpublic');
|
||||
}
|
||||
|
||||
// TRANS: Menu item in search group navigation panel.
|
||||
$this->out->menuItem(common_local_url('groups'), _m('MENU','Groups'),
|
||||
|
Loading…
Reference in New Issue
Block a user