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,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,7 +153,7 @@ _________________________________________________________ -->
151 '/category/view', 153 '/category/view',
152 'id' => $model->id, 154 'id' => $model->id,
153 'filter' => $filterHelper->buildLink($option), 155 'filter' => $filterHelper->buildLink($option),
154 - ], 156 + ]
155 ), 157 ),
156 [ 158 [
157 'class' => $filterHelper->has( 159 'class' => $filterHelper->has(
@@ -192,7 +194,7 @@ _________________________________________________________ --> @@ -192,7 +194,7 @@ _________________________________________________________ -->
192 [ 194 [
193 'class' => $filterHelper->has( 195 'class' => $filterHelper->has(
194 $option->lang->alias->value 196 $option->lang->alias->value
195 - ) ? 'active' : '', 197 + ) ? 'radio-but checked' : 'radio-but',
196 ] 198 ]
197 ); 199 );
198 } 200 }
@@ -228,7 +230,7 @@ _________________________________________________________ --> @@ -228,7 +230,7 @@ _________________________________________________________ -->
228 [ 230 [
229 'class' => $filterHelper->has( 231 'class' => $filterHelper->has(
230 $option->lang->alias->value 232 $option->lang->alias->value
231 - ) ? 'active' : '', 233 + ) ? 'radio-but checked' : 'radio-but',
232 ] 234 ]
233 ); 235 );
234 } 236 }
@@ -264,7 +266,7 @@ _________________________________________________________ --> @@ -264,7 +266,7 @@ _________________________________________________________ -->
264 [ 266 [
265 'class' => $filterHelper->has( 267 'class' => $filterHelper->has(
266 $option->lang->alias->value 268 $option->lang->alias->value
267 - ) ? 'active' : '', 269 + ) ? 'radio-but checked' : 'radio-but',
268 ] 270 ]
269 ); 271 );
270 } 272 }