From 9878014000aa5811843e5a66205d509be44b316c Mon Sep 17 00:00:00 2001 From: yarik Date: Tue, 25 Apr 2017 19:20:30 +0300 Subject: [PATCH] Catalog finished --- frontend/views/category/view.php | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/frontend/views/category/view.php b/frontend/views/category/view.php index b4d9855..96fc8c6 100755 --- a/frontend/views/category/view.php +++ b/frontend/views/category/view.php @@ -120,7 +120,9 @@ _________________________________________________________ --> ] ), [ - 'class' => $filterHelper->has($brand->lang->alias->value) ? 'active' : '', + 'class' => $filterHelper->has( + $brand->lang->alias->value + ) ? 'radio-but checked' : 'radio-but', ] ); } @@ -151,7 +153,7 @@ _________________________________________________________ --> '/category/view', 'id' => $model->id, 'filter' => $filterHelper->buildLink($option), - ], + ] ), [ 'class' => $filterHelper->has( @@ -192,7 +194,7 @@ _________________________________________________________ --> [ 'class' => $filterHelper->has( $option->lang->alias->value - ) ? 'active' : '', + ) ? 'radio-but checked' : 'radio-but', ] ); } @@ -228,7 +230,7 @@ _________________________________________________________ --> [ 'class' => $filterHelper->has( $option->lang->alias->value - ) ? 'active' : '', + ) ? 'radio-but checked' : 'radio-but', ] ); } @@ -264,7 +266,7 @@ _________________________________________________________ --> [ 'class' => $filterHelper->has( $option->lang->alias->value - ) ? 'active' : '', + ) ? 'radio-but checked' : 'radio-but', ] ); } -- libgit2 0.21.4