Quellcode durchsuchen

Formulaire de commande : message crédit pain vide

Affichage d'un message moins restrictif pour signaler que le compte crédit pain de l'utilisateur est vide.
master
keun vor 7 Jahren
Ursprung
Commit
318b6a7568
5 geänderte Dateien mit 5 neuen und 8 gelöschten Zeilen
  1. +0
    -1
      backend/views/commandeauto/index.php
  2. +1
    -3
      frontend/views/commande/_form.php
  3. BIN
      frontend/web/.sass-cache/e1a48ee3204d3a535cdbe440c2995954a615ac19/_systeme_commandes.scssc
  4. +2
    -2
      frontend/web/css/screen.css
  5. +2
    -2
      frontend/web/sass/_systeme_commandes.scss

+ 0
- 1
backend/views/commandeauto/index.php Datei anzeigen

@@ -20,7 +20,6 @@ $this->params['breadcrumbs'][] = $this->title;
'attribute' => 'id_user',
'format' => 'raw',
'value' => function($model) {
//print_r($model) ;
if(strlen($model->username))
{
return Html::encode($model->username) ;

+ 1
- 3
frontend/views/commande/_form.php Datei anzeigen

@@ -219,9 +219,7 @@ use common\models\Etablissement;
<?= Html::hiddenInput('str_montant_credit_pain', number_format($credit,2).' €', ['id' => 'str-montant-credit-pain']) ?>
<?php else: ?>
<div id="info-credit-vide">
Votre compte Crédit Pain est vide.<br />
Rendez-vous dans votre boulangerie<br/>
pour le recharger. <a class="info-credit-pain" href="<?= Yii::$app->urlManager->createUrl(['site/creditpain']); ?>" data-toggle="tooltip" data-placement="bottom" title="En savoir plus sur le Crédit Pain"><span class="glyphicon glyphicon-info-sign"></span></a>
Votre compte Crédit Pain est vide <a class="info-credit-pain" href="<?= Yii::$app->urlManager->createUrl(['site/creditpain']); ?>" data-toggle="tooltip" data-placement="bottom" title="En savoir plus sur le Crédit Pain"><span class="glyphicon glyphicon-info-sign"></span></a>
</div>
<?php endif; ?>
</div>

BIN
frontend/web/.sass-cache/e1a48ee3204d3a535cdbe440c2995954a615ac19/_systeme_commandes.scssc Datei anzeigen


+ 2
- 2
frontend/web/css/screen.css Datei anzeigen

@@ -1099,13 +1099,13 @@ h2 {
}
/* line 574, ../sass/_systeme_commandes.scss */
.commande-form #bar-fixed #bloc-valider-commande button {
width: 300px;
width: 340px;
margin-right: 10px;
}
/* line 580, ../sass/_systeme_commandes.scss */
.commande-form #bar-fixed #checkbox-credit-pain {
float: right;
width: 300px;
width: 340px;
padding: 3px 11px;
background-color: white;
border: solid 1px #ccc;

+ 2
- 2
frontend/web/sass/_systeme_commandes.scss Datei anzeigen

@@ -572,14 +572,14 @@ h2 {
margin-top: 20px ;
button {
width: 300px ;
width: 340px ;
margin-right: 10px ;
}
}
#checkbox-credit-pain {
float: right ;
width: 300px ;
width: 340px ;
padding: 3px 11px ;
background-color: white ;
border: solid 1px #ccc ;

Laden…
Abbrechen
Speichern