mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-11 18:01:10 -06:00
#2806 base theme home cats show close button bug fixed
This commit is contained in:
parent
35ee03820d
commit
1fad8e34ca
@ -1,3 +1,4 @@
|
||||
$('.categories-list .show-all').on('click', function () {
|
||||
$(this).siblings('.hidden-category').toggleClass('hidden')
|
||||
})
|
||||
$(this).find('a').find('span').toggleClass('hidden')
|
||||
})
|
||||
|
||||
@ -11,4 +11,5 @@ return [
|
||||
'email' => 'Email',
|
||||
'phone' => 'Phone',
|
||||
'show_all' => 'Show All',
|
||||
'hide_all' => 'Hide All',
|
||||
];
|
||||
@ -45,8 +45,15 @@
|
||||
{% if count(sub_categories) > sub_categories_limit %}
|
||||
<li class="show-all" data-limit="{{ sub_categories_limit }}">
|
||||
<a>
|
||||
{{ trans('visiosoft.theme.base::button.show_all') }}
|
||||
<i class="fas fa-arrow-circle-down"></i>
|
||||
<span class="">
|
||||
{{ trans('visiosoft.theme.base::button.show_all') }}
|
||||
<i class="fas fa-arrow-circle-down"></i>
|
||||
</span>
|
||||
<span class="hidden">
|
||||
{{ trans('visiosoft.theme.base::button.hide_all') }}
|
||||
<i class="fas fa-arrow-circle-up"></i>
|
||||
</span>
|
||||
|
||||
</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user