|
|
|
@ -6,11 +6,9 @@
|
|
|
|
|
<input type="text" class="form-control" autocomplete="off">
|
|
|
|
|
</div>
|
|
|
|
|
<ul component="category/list" class="dropdown-menu category-dropdown-menu" role="menu">
|
|
|
|
|
{{{ if allCategoriesUrl }}}
|
|
|
|
|
<li role="presentation" class="category" data-all="all">
|
|
|
|
|
<a role="menu-item" href="{config.relative_path}/{allCategoriesUrl}"><i component="category/select/icon" class="fa fa-fw fa-check {{{if selectedCategory}}}invisible{{{end}}}"></i> [[unread:all_categories]]</a>
|
|
|
|
|
</li>
|
|
|
|
|
{{{ end }}}
|
|
|
|
|
{{{each categoryItems}}}
|
|
|
|
|
<li role="presentation" class="category {{{ if ../disabledClass }}}disabled{{{ end }}}" data-cid="{../cid}" data-parent-cid="{../parentCid}" data-name="{../name}">
|
|
|
|
|
<a role="menu-item" href="#">{../level}<i component="category/select/icon" class="fa fa-fw fa-check {{{ if !../selected }}}invisible{{{ end }}}"></i><span component="category-markup" style="{{{ if ../match }}}font-weight: bold;{{{end}}}">{{{ if ../icon }}}<span class="fa-stack" style="{function.generateCategoryBackground}"><i class="fa fa-fw fa-stack-1x {../icon}" style="color: {../color};"></i></span>{{{ end }}} {../name}</span></a>
|
|
|
|
|