mirror of
https://github.com/Combodo/iTop.git
synced 2026-03-05 09:04:19 +01:00
N°6759 - Fix alerts html
This commit is contained in:
@@ -69,7 +69,6 @@ class ConfigEditorController extends Controller
|
||||
throw new Exception(Dict::S('config-no-change'), iTopConfigValidator::CONFIG_INFO);
|
||||
}
|
||||
$oValidator = new iTopConfigValidator();
|
||||
$sNewConfig = str_replace("\r\n", "\n", $sNewConfig);
|
||||
|
||||
$oValidator->Validate($sNewConfig);// throws exceptions
|
||||
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
{% for sError in aErrors %}
|
||||
{% UIAlert ForDanger{sTitle: sError} %}{% EndUIAlert %}
|
||||
{% UIAlert ForDanger{sContent: sError} %}{% EndUIAlert %}
|
||||
{% endfor %}
|
||||
{% for sWarning in aWarnings %}
|
||||
{% UIAlert ForWarning{sTitle: sWarning} %}{% EndUIAlert %}
|
||||
{% UIAlert ForWarning{sContent: sWarning} %}{% EndUIAlert %}
|
||||
{% endfor %}
|
||||
{% for sNotice in aNotices %}
|
||||
{% UIAlert ForInformation{sTitle: sNotice} %}{% EndUIAlert %}
|
||||
{% UIAlert ForInformation{sContent: sNotice} %}{% EndUIAlert %}
|
||||
{% endfor %}
|
||||
{% for sSuccess in aSuccesses %}
|
||||
{% UIAlert ForSuccess{sTitle: sSuccess} %}{% EndUIAlert %}
|
||||
{% UIAlert ForSuccess{sContent: sSuccess} %}{% EndUIAlert %}
|
||||
{% endfor %}
|
||||
|
||||
{% UITitle ForPage {'sTitle':'config-edit-title'|dict_s} %}{% EndUITitle %}
|
||||
|
||||
Reference in New Issue
Block a user