| @@ 24-33 (lines=10) @@ | ||
| 21 | protected function initBoxTools() |
|
| 22 | { |
|
| 23 | parent::initBoxTools(); |
|
| 24 | if (!isset($this->boxTools['collapse'])) { |
|
| 25 | $this->boxTools['collapse'] = [ |
|
| 26 | 'icon' => 'fa-minus', |
|
| 27 | 'options' => [ |
|
| 28 | 'class' => 'btn-default', |
|
| 29 | 'title' => Yii::t('hipanel', 'collapse'), |
|
| 30 | 'data-widget' => 'collapse', |
|
| 31 | ], |
|
| 32 | ]; |
|
| 33 | } |
|
| 34 | if (!isset($this->boxTools['remove'])) { |
|
| 35 | $this->boxTools['remove'] = [ |
|
| 36 | 'icon' => 'fa-times', |
|
| @@ 34-43 (lines=10) @@ | ||
| 31 | ], |
|
| 32 | ]; |
|
| 33 | } |
|
| 34 | if (!isset($this->boxTools['remove'])) { |
|
| 35 | $this->boxTools['remove'] = [ |
|
| 36 | 'icon' => 'fa-times', |
|
| 37 | 'options' => [ |
|
| 38 | 'class' => 'btn-default', |
|
| 39 | 'title' => Yii::t('hipanel', 'remove'), |
|
| 40 | 'data-widget' => 'remove', |
|
| 41 | ], |
|
| 42 | ]; |
|
| 43 | } |
|
| 44 | } |
|
| 45 | ||
| 46 | /** |
|