Browse Source

Bouton "Ajouter" dans la page "Mes commandes"

dev
Guillaume Bourgeois 5 years ago
parent
commit
3aa9a660cf
2 changed files with 2 additions and 1 deletions
  1. +1
    -0
      producer/views/order/history.php
  2. +1
    -1
      producer/views/subscription/index.php

+ 1
- 0
producer/views/order/history.php View File

@@ -40,6 +40,7 @@ use yii\bootstrap\ActiveForm;
use common\models\Order ;

$this->setTitle('Mes commandes') ;
$this->addButton(['label' => '<span class="glyphicon glyphicon-plus"></span> Ajouter', 'url' => 'order/order', 'class' => 'btn btn-primary']) ;

?>


+ 1
- 1
producer/views/subscription/index.php View File

@@ -40,7 +40,7 @@ use yii\helpers\Html;
use yii\grid\GridView;

$this->setTitle('Abonnements') ;
$this->addButton(['label' => '+ Ajouter', 'url' => 'subscription/form', 'class' => 'btn btn-primary']) ;
$this->addButton(['label' => '<span class="glyphicon glyphicon-plus"></span> Ajouter', 'url' => 'subscription/form', 'class' => 'btn btn-primary']) ;

$columns = [
[

Loading…
Cancel
Save