Commit 24ebe36c1e29511ff8ee4ef09f4d3d7a9c1f38be

Authored by Administrator
1 parent d50572a4

проапдейтил роли

Showing 1 changed file with 3 additions and 3 deletions   Show diff stats
frontend/views/catalog/products.php
... ... @@ -73,7 +73,7 @@ $this->registerJsFile (Yii::getAlias('@web/js/ion.rangeSlider.js'));
73 73 */?>
74 74 <div class="filters">
75 75 <ul>
76   - <li>
  76 + <li class="new">
77 77 <?php
78 78 $checked = !empty($filter['special']) && in_array('new', $filter['special']);
79 79 $option_url = Url::to(['catalog/category', 'category' => $category, 'filter' => ProductHelper::getFilterForOption($filter, 'special', 'new', $checked)]);
... ... @@ -81,7 +81,7 @@ $this-&gt;registerJsFile (Yii::getAlias(&#39;@web/js/ion.rangeSlider.js&#39;));
81 81 <input type="checkbox" class="special-option" <?= $checked ? ' checked' : ''?> onchange="document.location='<?= $option_url?>'" />
82 82 <a href="<?= $option_url?>"><?= Yii::t('product', 'New products')?></a>
83 83 </li>
84   - <li>
  84 + <li class="top">
85 85 <?php
86 86 $checked = !empty($filter['special']) && in_array('top', $filter['special']);
87 87 $option_url = Url::to(['catalog/category', 'category' => $category, 'filter' => ProductHelper::getFilterForOption($filter, 'special', 'top', $checked)]);
... ... @@ -89,7 +89,7 @@ $this-&gt;registerJsFile (Yii::getAlias(&#39;@web/js/ion.rangeSlider.js&#39;));
89 89 <input type="checkbox" class="special-option" <?= $checked ? ' checked' : ''?> onchange="document.location='<?= $option_url?>'" />
90 90 <a href="<?= $option_url?>"><?= Yii::t('product', 'Top products')?></a>
91 91 </li>
92   - <li>
  92 + <li class="promo">
93 93 <?php
94 94 $checked = !empty($filter['special']) && in_array('promo', $filter['special']);
95 95 $option_url = Url::to(['catalog/category', 'category' => $category, 'filter' => ProductHelper::getFilterForOption($filter, 'special', 'promo', $checked)]);
... ...