Merge pull request #9354 from laf/alert-settings-reorg

Reorg the alert settings page to show what options are deprecated
This commit is contained in:
TheGreatDoc
2018-10-21 21:30:02 +02:00
committed by GitHub

View File

@@ -403,13 +403,15 @@ $mail_conf = array(
);
echo '
<div class="well"><strong>DEPRECATED</strong>: Please use the new Alert Transports section under Alerts to configure transports - <a href="https://docs.librenms.org/Alerting/Transports/" target="_blank">docs</a>.</div>
<div class="panel-group" id="accordion">
<form class="form-horizontal" role="form" action="" method="post">
';
echo generate_dynamic_config_panel('General alert settings', $config_groups, $general_conf);
echo generate_dynamic_config_panel('Email transport', $config_groups, $mail_conf, 'mail');
echo generate_dynamic_config_panel('Email options', $config_groups, $mail_conf, 'mail');
echo '<br /><div class="well"><strong class="text-danger">DEPRECATED</strong>: All options below are deprecated, please use the new Alert Transports section under Alerts to configure transports :: <a href="https://docs.librenms.org/Alerting/Transports/" target="_blank">Docs <i class="fa fa-book fa-1x"></i></a></div>';
echo '
<div class="panel panel-default">