Merge branch '940-visual-changes-from-MR-in-meta-and-node-dev' into 'develop'

Changed text in header when mr file is available

See merge request !532
This commit is contained in:
vgilc 2017-05-30 17:18:26 +02:00
commit 854b3ea0b7
1 changed files with 3 additions and 1 deletions

View File

@ -239,7 +239,9 @@ config_check();
$check_minor_release_available = db_check_minor_relase_available ();
if ($check_minor_release_available) {
set_pandora_error_for_header('There are one or more minor releases waiting for update, there are required administrator permissions', 'minor release/s available');
if (users_is_admin($config['id_user'])) {
set_pandora_error_for_header('There are one or more minor releases waiting for update', 'minor release/s available');
}
}
echo '<div id="alert_messages" style="display: none"></div>';