if startpage is /hq redirect all notifications links to /hq and minor notifications and hq fixes

This commit is contained in:
Mario Vavti
2018-01-27 22:23:47 +01:00
parent 7c600b0380
commit 2e4e56f7cc
6 changed files with 42 additions and 46 deletions

View File

@@ -145,7 +145,8 @@ class Notifications {
'$module' => \App::$module,
'$notifications' => $notifications,
'$no_notifications' => t('Sorry, you have got no notifications at the moment'),
'$loading' => t('Loading')
'$loading' => t('Loading'),
'$startpage' => get_pconfig(local_channel(), 'system', 'startpage')
));
return $o;