From ff4e5cfd143400de66106e81e6ee772b041234a1 Mon Sep 17 00:00:00 2001 From: Srdjan Date: Tue, 21 Sep 2021 23:04:28 +0200 Subject: [PATCH 1/2] test commit 1 --- widgets/Alert.php | 1 + 1 file changed, 1 insertion(+) diff --git a/widgets/Alert.php b/widgets/Alert.php index ae6c1d85c..c03c8a31f 100644 --- a/widgets/Alert.php +++ b/widgets/Alert.php @@ -30,6 +30,7 @@ class Alert extends \yii\bootstrap\Widget * - key: the name of the session flash variable * - value: the bootstrap alert type (i.e. danger, success, info, warning) */ + public $alertTypes = [ 'error' => 'alert-danger', 'danger' => 'alert-danger', From e9ba98bc6b9df0ef0987bba68d8db12d380548b0 Mon Sep 17 00:00:00 2001 From: Srdjan Date: Tue, 21 Sep 2021 23:04:49 +0200 Subject: [PATCH 2/2] test commit 2 --- widgets/Alert.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/widgets/Alert.php b/widgets/Alert.php index c03c8a31f..267a5dd52 100644 --- a/widgets/Alert.php +++ b/widgets/Alert.php @@ -30,7 +30,7 @@ class Alert extends \yii\bootstrap\Widget * - key: the name of the session flash variable * - value: the bootstrap alert type (i.e. danger, success, info, warning) */ - + public $alertTypes = [ 'error' => 'alert-danger', 'danger' => 'alert-danger', @@ -38,6 +38,7 @@ class Alert extends \yii\bootstrap\Widget 'info' => 'alert-info', 'warning' => 'alert-warning' ]; + /** * @var array the options for rendering the close button tag. * Array will be passed to [[\yii\bootstrap\Alert::closeButton]].