@@ -11,7 +11,7 @@ $this->params['breadcrumbs'][] = $this->title; | |||
?> | |||
<div class="user-index"> | |||
<h1><?= Html::encode($this->title) ?></h1> | |||
<h1><?= Html::encode($this->title) ?> <?= Html::a('<span class="glyphicon glyphicon-envelope"></span> Liste des emails', ['mail'], ['class' => 'btn btn-default']) ?></h1> | |||
<?= GridView::widget([ | |||
'dataProvider' => $dataProvider, |
@@ -6,7 +6,12 @@ | |||
* and open the template in the editor. | |||
*/ | |||
$this->title = 'Liste des emails utilisateurs'; | |||
use yii\helpers\Html ; | |||
$this->title = 'Liste des emails'; | |||
$this->params['breadcrumbs'][] = ['label' => 'Utilisateurs', | |||
'url' => ['user/index']] ; | |||
$this->params['breadcrumbs'][] = $this->title; | |||
?> | |||