Pārlūkot izejas kodu

Correction lien "Passer une commande" de la page d'accueil

refactoring
Guillaume Bourgeois pirms 5 gadiem
vecāks
revīzija
d335006fda
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. +1
    -1
      producer/views/site/index.php

+ 1
- 1
producer/views/site/index.php Parādīt failu

@@ -49,7 +49,7 @@ else
?>

<section id="order">
<a class="btn btn-primary btn-lg" href="<?php if(Yii::$app->user->isGuest): echo Yii::$app->urlManagerFrontend->createAbsoluteUrl(['site/producer','id' => $this->context->getProducer()->id,'return_url' => Yii::$app->urlManagerProducer->createAbsoluteUrl(['order/create','slug_producer' => $this->context->getProducer()->slug])]); else: echo Yii::$app->urlManager->createUrl(['order/create']); endif; ?>"><span class="glyphicon glyphicon-plus"></span> Passer une commande</a>
<a class="btn btn-primary btn-lg" href="<?php if(Yii::$app->user->isGuest): echo Yii::$app->urlManagerFrontend->createAbsoluteUrl(['site/producer','id' => $this->context->getProducer()->id,'return_url' => Yii::$app->urlManagerProducer->createAbsoluteUrl(['order/order','slug_producer' => $this->context->getProducer()->slug])]); else: echo Yii::$app->urlManager->createUrl(['order/order']); endif; ?>"><span class="glyphicon glyphicon-plus"></span> Passer une commande</a>
</section>

<section id="presentation">

Notiek ielāde…
Atcelt
Saglabāt