Browse Source

Backend : libellé commandes automatiques

Commandes automatiques devient "commandes récurrentes".
master
keun 8 years ago
parent
commit
b445364c48
4 changed files with 5 additions and 5 deletions
  1. +1
    -1
      backend/controllers/CommandeautoController.php
  2. +1
    -1
      backend/views/commandeauto/index.php
  3. +2
    -2
      backend/views/commandeauto/update.php
  4. +1
    -1
      backend/views/layouts/main.php

+ 1
- 1
backend/controllers/CommandeautoController.php View File

@@ -115,7 +115,7 @@ class CommandeautoController extends BackendController {
}
}
else {
throw new NotFoundHttpException('La commande automatique est introuvable.', 404);
throw new NotFoundHttpException('La commande récurrente est introuvable.', 404);
}
// produits

+ 1
- 1
backend/views/commandeauto/index.php View File

@@ -6,7 +6,7 @@ use yii\grid\GridView;
/* @var $this yii\web\View */
/* @var $dataProvider yii\data\ActiveDataProvider */

$this->title = 'Commandes automatiques';
$this->title = 'Commandes récurrentes';
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="commande-auto-index">

+ 2
- 2
backend/views/commandeauto/update.php View File

@@ -5,8 +5,8 @@ use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model app\models\Produit */

$this->title = 'Modifier une commande automatique';
$this->params['breadcrumbs'][] = ['label' => 'Commandes automatiques', 'url' => ['index']];
$this->title = 'Modifier une commande récurrente';
$this->params['breadcrumbs'][] = ['label' => 'Commandes récurrentes', 'url' => ['index']];
$this->params['breadcrumbs'][] = 'Modifier';
?>
<div class="commandeauto-update">

+ 1
- 1
backend/views/layouts/main.php View File

@@ -51,7 +51,7 @@ AppAsset::register($this);
'visible' => !Yii::$app->user->isGuest
],
[
'label' => '<span class="glyphicon glyphicon-repeat"></span> Commandes automatiques',
'label' => '<span class="glyphicon glyphicon-repeat"></span> Commandes récurrentes',
'url' => ['/commandeauto/index'],
'visible' => !Yii::$app->user->isGuest
],

Loading…
Cancel
Save