mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-05-13 02:07:16 +02:00
fix: closes #12115 , toggle hasmore as well
This commit is contained in:
@@ -55,8 +55,11 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<ul class="list-unstyled has-more-categories {{{ if !../hasMoreSubCategories}}}hidden{{{ end }}}">
|
||||
<li>
|
||||
<ul class="list-unstyled has-more-categories mt-2 {{{ if !./hasMoreSubCategories}}}hidden{{{ end }}}" data-hasmore="{{{ if ./hasMoreSubCategories}}}1{{{ else }}}0{{{ end }}}">
|
||||
<li class="d-flex gap-2">
|
||||
<div class="invisible toggle text-center text-sm">
|
||||
<i class="fa fa-chevron-down"></i>
|
||||
</div>
|
||||
<a href="{config.relative_path}/admin/manage/categories?cid={categories.cid}&page={categories.showMorePage}" class="btn btn-sm btn-light">[[category:x-more-categories, {../subCategoriesLeft}]]</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
Reference in New Issue
Block a user