瀏覽代碼

Ajout de la page listant les emails des utilisateurs

master
keun 8 年之前
父節點
當前提交
631d109b24
共有 2 個檔案被更改,包括 7 行新增2 行删除
  1. +1
    -1
      backend/views/user/index.php
  2. +6
    -1
      backend/views/user/liste_mails.php

+ 1
- 1
backend/views/user/index.php 查看文件

@@ -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
- 1
backend/views/user/liste_mails.php 查看文件

@@ -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;

?>


Loading…
取消
儲存