mirror of
https://github.com/Icinga/icingaweb2-module-businessprocess.git
synced 2026-06-08 16:22:04 -04:00
DashboardAction: Use ipl-web's icon
This commit is contained in:
parent
834005f7b4
commit
da0c72d578
1 changed files with 2 additions and 1 deletions
|
|
@ -5,6 +5,7 @@ namespace Icinga\Module\Businessprocess\Web\Component;
|
|||
use Icinga\Web\Url;
|
||||
use ipl\Html\BaseHtmlElement;
|
||||
use ipl\Html\Html;
|
||||
use ipl\Web\Widget\Icon;
|
||||
|
||||
class DashboardAction extends BaseHtmlElement
|
||||
{
|
||||
|
|
@ -19,7 +20,7 @@ class DashboardAction extends BaseHtmlElement
|
|||
}
|
||||
|
||||
$this->add(Html::tag('a', $attributes)
|
||||
->add(Html::tag('i', ['class' => 'icon icon-' . $icon]))
|
||||
->add(new Icon($icon))
|
||||
->add(Html::tag('span', ['class' => 'header'], $title))
|
||||
->add($description));
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue