yii2-adminlte icon indicating copy to clipboard operation
yii2-adminlte copied to clipboard

Add an ability to use multiple badges in a left sidebar menu item wit…

Open masybit opened this issue 8 years ago • 0 comments

…h sub items

Usage:

[ 'label' => 'Personnes ', 'url' => './#', 'icon' => 'users', 'badges' => [ ['content' => Personne::find()->count(), 'badgeOptions' => ['class' => 'bg-aqua']] ], 'items' => [ [ 'label' => 'Liste des personnes', 'url' => ['/personne'], 'icon' => 'list' ], [ 'label' => 'Ajouter une personne', 'url' => ['/personne/create'], 'icon' => 'plus' ], ], ]

20161222-2234

masybit avatar Dec 23 '16 18:12 masybit