You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
1.5 KiB
Smarty

<ul class="categories" itemscope itemtype="http://www.schema.org/ItemList">
<p>Categories</p>
<!-- BEGIN categories -->
<li component="categories/category" data-cid="{categories.cid}" data-numRecentReplies="1" class="row clearfix">
<meta itemprop="name" content="{categories.name}">
10 years ago
<div class="col-md-7 col-sm-9 col-xs-11 content">
<div class="icon hidden-sm hidden-xs pull-left" style="{function.generateCategoryBackground}">
<i class="fa fa-fw {categories.icon}"></i>
</div>
10 years ago
<h1 class="title pull-left">
<!-- IMPORT partials/categories/link.tpl --><br />
<small>{categories.description}</small>
</h1>
</div>
<!-- IF !categories.link -->
<div class="col-md-1 hidden-sm hidden-xs stats">
<span class="{categories.unread-class} human-readable-number" title="{categories.topic_count}">{categories.topic_count}</span><br />
<small>[[global:topics]]</small>
</div>
<div class="col-md-1 hidden-sm hidden-xs stats">
<span class="{categories.unread-class} human-readable-number" title="{categories.post_count}">{categories.post_count}</span><br />
<small>[[global:posts]]</small>
</div>
10 years ago
<div class="col-md-3 col-sm-3 col-xs-1 teaser">
<!-- IMPORT partials/categories/lastpost.tpl -->
</div>
<!-- ELSE -->
<div class="col-md-2 hidden-sm-hidden-xs"></div>
10 years ago
<div class="col-md-3 col-sm-3 col-xs-1 teaser">
<div class="card" style="border-color: {categories.bgColor}"></div>
10 years ago
</div>
<!-- ENDIF !categories.link -->
</li>
<!-- END categories -->
10 years ago
</ul>