Wrap the throttled warning in a warningbox div

Currently, the message informing that some actions have been disabled is
quite impossible to notice at a first glance, since it's a bit confused
with other form elements. However it actually is a warning and needs to
be treated as that.

Change-Id: I0d851333f8da200fb0b9b0c7d05ccd1f63e9e948
This commit is contained in:
Daimona Eaytoy 2018-02-21 15:20:15 +01:00
parent c411452ceb
commit c7d87182b4

View file

@ -518,9 +518,11 @@ class AbuseFilterViewEdit extends AbuseFilterView {
);
$flags .= $out->parse(
$this->msg( 'abusefilter-edit-throttled-warning' )
->plaintextParams( $lang->commaList( $throttledActions ) )
->text()
Html::warningBox(
$this->msg( 'abusefilter-edit-throttled-warning' )
->plaintextParams( $lang->commaList( $throttledActions ) )
->text()
)
);
}
}