add topic counts to the search and filter widget
This commit is contained in:
parent
158b1de7bc
commit
812471d15f
@ -2,6 +2,6 @@
|
||||
<input class="widget_search_input" name="widget_search" placeholder="Search" type="search" />
|
||||
</div>
|
||||
<div class="rowblock filter_list widget_filter">
|
||||
{{range .Forums}} <div class="rowitem filter_item{{if .Selected}} filter_selected{{end}}" data-fid="{{.ID}}"><a href="/topics/?fids={{.ID}}" rel="nofollow">{{.Name}}</a></div>
|
||||
{{range .Forums}} <div class="rowitem filter_item{{if .Selected}} filter_selected{{end}}" data-fid={{.ID}}><a href="/topics/?fids={{.ID}}" rel="nofollow">{{.Name}} ({{.TopicCount}})</a></div>
|
||||
{{end}}
|
||||
</div>
|
Loading…
Reference in New Issue
Block a user