Просмотр исходного кода

[Boutique] Points de vente : libellé "Points de vente" personnalisé

feature/rotating_product
Guillaume Bourgeois 6 месяцев назад
Родитель
Сommit
ec1f69b3fb
2 измененных файлов: 3 добавлений и 5 удалений
  1. +1
    -3
      producer/views/layouts/main.php
  2. +2
    -2
      producer/views/site/points-sale.php

+ 1
- 3
producer/views/layouts/main.php Просмотреть файл

@@ -289,7 +289,7 @@ $mainColor = $producer->option_main_color ?: '#ee6f42' ;
],
[
'url' => $this->getUrlManagerProducer()->createUrl(['site/points-sale']),
'label' => 'Points de vente <span class="label label-default">'.$pointSaleModule->getRepository()->countPointSalesPublic().'</span>',
'label' => $producerModule->getSolver()->getPointSaleWording($producer).' <span class="label label-default">'.$pointSaleModule->getRepository()->countPointSalesPublic().'</span>',
'active' => $this->getControllerAction() == 'site/points-sale',
],
];
@@ -304,10 +304,8 @@ $mainColor = $producer->option_main_color ?: '#ee6f42' ;
}

?>

</nav>


<div id="infos-producer">
<?php if (!$this->getProducerModule()->hasSpecificDelays($producer) && $producer->order_deadline && $producer->order_delay): ?>
<span data-toggle="tooltip" data-placement="bottom" title="Heure limite de commande">

+ 2
- 2
producer/views/site/points-sale.php Просмотреть файл

@@ -54,8 +54,8 @@ $pointSaleModule = PointSaleModule::getInstance();

$producer = $this->context->getProducerCurrent();

$this->setTitle('Points de vente');
$this->setPageTitle('Points de vente');
$this->setTitle($producerModule->getSolver()->getPointSaleWording($producer));
$this->setPageTitle($producerModule->getSolver()->getPointSaleWording($producer));
$this->setMeta('description', $producerModule->getSeoGenerator()->generateMetaDescriptionPointsSale());

?>

Загрузка…
Отмена
Сохранить