Sfoglia il codice sorgente

Merge branch 'dev'

master
parent
commit
9f20b26c4d
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      producer/views/site/index.php

+ 1
- 1
producer/views/site/index.php Vedi File

@@ -115,7 +115,7 @@ $this->setPageTitle(Html::encode($producer->type.' à '.$producer->city)) ;
[
'attribute' => 'weight',
'value' => function($model) {
if(strlen($model->weight)) {
if($model->unit == 'piece' && strlen($model->weight)) {
return $model->weight.' g' ;
}
return '' ;

Loading…
Annulla
Salva