We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 26631bf9 authored by mattl's avatar mattl

Show network public feed link in PublicGroupNav

parent 551c69ed
......@@ -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'),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment