|
|
|
<ul class="categories" itemscope itemtype="http://www.schema.org/ItemList">
|
|
|
|
<!-- BEGIN categories -->
|
|
|
|
<li data-cid="{categories.cid}" data-numRecentReplies="{categories.numRecentReplies}" class="row">
|
|
|
|
<meta itemprop="name" content="{categories.name}">
|
|
|
|
|
|
|
|
<div class="col-md-7 col-sm-12 col-xs-12 content">
|
|
|
|
<div class="icon pull-left" style="{function.generateCategoryBackground}">
|
|
|
|
<i class="fa fa-fw {categories.icon}"></i>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<h1 class="title pull-left">
|
|
|
|
<!-- IMPORT partials/categories/link.tpl --><br />
|
|
|
|
<small>{categories.description}</small>
|
|
|
|
</h1>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="hidden-sm hidden-xs">
|
|
|
|
<!-- IF !categories.link -->
|
|
|
|
<div class="col-md-1 stats">
|
|
|
|
<span class="{categories.unread-class}">{categories.topic_count}</span><br />
|
|
|
|
<small>Topics</small>
|
|
|
|
</div>
|
|
|
|
<div class="col-md-1 stats">
|
|
|
|
<span class="{categories.unread-class}">{categories.post_count}</span><br />
|
|
|
|
<small>Posts</small>
|
|
|
|
</div>
|
|
|
|
<div class="col-md-3">
|
|
|
|
<!-- IMPORT partials/categories/lastpost.tpl -->
|
|
|
|
</div>
|
|
|
|
<!-- ELSE -->
|
|
|
|
<div class="col-md-4">
|
|
|
|
|
|
|
|
</div>
|
|
|
|
<!-- ENDIF !categories.link -->
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="clearfix"></div>
|
|
|
|
</li>
|
|
|
|
<!-- END categories -->
|
|
|
|
</div>
|