Commit 9878014000aa5811843e5a66205d509be44b316c

Authored by Yarik
1 parent 67991b62

Catalog finished

Showing 1 changed file with 7 additions and 5 deletions   Show diff stats
frontend/views/category/view.php
... ... @@ -120,7 +120,9 @@ _________________________________________________________ -->
120 120 ]
121 121 ),
122 122 [
123   - 'class' => $filterHelper->has($brand->lang->alias->value) ? 'active' : '',
  123 + 'class' => $filterHelper->has(
  124 + $brand->lang->alias->value
  125 + ) ? 'radio-but checked' : 'radio-but',
124 126 ]
125 127 );
126 128 }
... ... @@ -151,7 +153,7 @@ _________________________________________________________ -->
151 153 '/category/view',
152 154 'id' => $model->id,
153 155 'filter' => $filterHelper->buildLink($option),
154   - ],
  156 + ]
155 157 ),
156 158 [
157 159 'class' => $filterHelper->has(
... ... @@ -192,7 +194,7 @@ _________________________________________________________ -->
192 194 [
193 195 'class' => $filterHelper->has(
194 196 $option->lang->alias->value
195   - ) ? 'active' : '',
  197 + ) ? 'radio-but checked' : 'radio-but',
196 198 ]
197 199 );
198 200 }
... ... @@ -228,7 +230,7 @@ _________________________________________________________ -->
228 230 [
229 231 'class' => $filterHelper->has(
230 232 $option->lang->alias->value
231   - ) ? 'active' : '',
  233 + ) ? 'radio-but checked' : 'radio-but',
232 234 ]
233 235 );
234 236 }
... ... @@ -264,7 +266,7 @@ _________________________________________________________ -->
264 266 [
265 267 'class' => $filterHelper->has(
266 268 $option->lang->alias->value
267   - ) ? 'active' : '',
  269 + ) ? 'radio-but checked' : 'radio-but',
268 270 ]
269 271 );
270 272 }
... ...