diff options
author | Simon Rettberg | 2022-05-03 17:36:29 +0200 |
---|---|---|
committer | Simon Rettberg | 2022-05-03 17:36:29 +0200 |
commit | b155c8167ddd5562f30fcfadd9eeb60d80e2619e (patch) | |
tree | cfbb0fda2f4aeadc24a0cbb010f975e3c10ee779 /modules-available/locations/pages | |
parent | [eventlog] Add de translations (diff) | |
download | slx-admin-b155c8167ddd5562f30fcfadd9eeb60d80e2619e.tar.gz slx-admin-b155c8167ddd5562f30fcfadd9eeb60d80e2619e.tar.xz slx-admin-b155c8167ddd5562f30fcfadd9eeb60d80e2619e.zip |
[locations/news] Add per-location news/help/loginscreentext
Diffstat (limited to 'modules-available/locations/pages')
-rw-r--r-- | modules-available/locations/pages/details.inc.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules-available/locations/pages/details.inc.php b/modules-available/locations/pages/details.inc.php index d2ec7b24..77f96221 100644 --- a/modules-available/locations/pages/details.inc.php +++ b/modules-available/locations/pages/details.inc.php @@ -342,6 +342,7 @@ class SubPage 'locationname' => $loc['locationname'], 'list' => $rows, 'roomplanner' => Module::get('roomplanner') !== false, + 'news' => Module::get('news') !== false && User::hasPermission('.news.*', $loc['locationid']), 'parents' => Location::getLocations($loc['parentlocationid'], $locationId, true) ); |