diff options
author | Simon Rettberg | 2014-10-16 11:35:14 +0200 |
---|---|---|
committer | Simon Rettberg | 2014-10-16 11:35:14 +0200 |
commit | 358842a847ce67632204135bbb3c9c8f2267f243 (patch) | |
tree | 04d81e475f9faa2d181c62efa8c32a80a1fb8013 /index.php | |
parent | Do a chdir in api.php to the script dir to simplify cmdline calls (diff) | |
download | slx-admin-358842a847ce67632204135bbb3c9c8f2267f243.tar.gz slx-admin-358842a847ce67632204135bbb3c9c8f2267f243.tar.xz slx-admin-358842a847ce67632204135bbb3c9c8f2267f243.zip |
Show notice in menu bar if setup is incomplete
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -119,7 +119,8 @@ Render::addTemplate('main-menu', array( 'langs' => Dictionary::getLanguages(true), 'dbupdate' => Database::needSchemaUpdate(), 'user' => User::getName(), - 'warning' => User::getName() && User::getLastSeenEvent() < Property::getLastWarningId() + 'warning' => User::getName() !== false && User::getLastSeenEvent() < Property::getLastWarningId(), + 'needsSetup' => User::getName() !== false && Property::getNeedsSetup() )); Message::renderList(); |