Added warning when system notifications are disabled

This commit is contained in:
bergware
2018-04-02 22:35:43 +02:00
parent 7fca22bfae
commit 6cf64a0928

View File

@@ -511,6 +511,8 @@ $(function() {
showUpgrade('<b>Reboot required</b> to downgrade unRAID OS');
<?elseif ($version = plugin_update_available('unRAIDServer',true)):?>
showUpgrade('unRAID OS v<?=$version?> is available. <a>Download Now</a>','unRAIDServer');
<?elseif (!$notify['system']):?>
$('.upgrade_notice').html('System notifications are <b>disabled</b>. Click <a href="/Settings/Notifications" style="cursor:pointer">here</a> to change notification settings.').show();
<?endif;?>
<?endif;?>
<?if ($notify['display']):?>