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.
68 lines
2.7 KiB
Smarty
68 lines
2.7 KiB
Smarty
<ul component="category" itemscope itemtype="http://www.schema.org/ItemList" data-nextstart="{nextStart}">
|
|
<meta itemprop="itemListOrder" content="descending">
|
|
<!-- BEGIN topics -->
|
|
<li component="category/topic" class="row clearfix {function.generateTopicClass}" <!-- IMPORT partials/data/category.tpl -->>
|
|
<meta itemprop="name" content="{topics.title}">
|
|
|
|
<div class="col-md-7 col-sm-12 col-xs-12 content">
|
|
<div class="pull-left">
|
|
<!-- IF showSelect -->
|
|
<i class="fa fa-fw fa-square-o pull-left select pointer"></i>
|
|
<!-- ENDIF showSelect -->
|
|
|
|
<a href="{relative_path}/user/{topics.user.userslug}" class="pull-left">
|
|
<img src="{topics.user.picture}" class="img-circle user-img" title="{topics.user.username}"/>
|
|
</a>
|
|
</div>
|
|
|
|
<h1 class="title pull-left">
|
|
<i component="topic/pinned" class="fa fa-thumb-tack <!-- IF !topics.pinned -->hide<!-- ENDIF !topics.pinned -->"></i>
|
|
<i component="topic/locked" class="fa fa-lock <!-- IF !topics.locked -->hide<!-- ENDIF !topics.locked -->"></i>
|
|
<a href="{relative_path}/topic/{topics.slug}" itemprop="url">{topics.title}</a><br />
|
|
|
|
<!-- IF template.category -->
|
|
<small>[[global:posted_ago, <span class="timeago" title="{topics.relativeTime}"></span>]]</small>
|
|
<!-- ELSE -->
|
|
<small>[[global:posted_in_ago, <a href="{relative_path}/category/{topics.category.slug}"><i class="fa {topics.category.icon}"></i> {topics.category.name}</a>, <span class="timeago" title="{topics.relativeTime}"></span>]]</small>
|
|
<!-- ENDIF template.category -->
|
|
</h1>
|
|
</div>
|
|
|
|
<div class="hidden-sm hidden-xs">
|
|
<!-- IF !categories.link -->
|
|
<div class="col-md-1 stats">
|
|
<span class="human-readable-number" title="{topics.viewcount}">{topics.viewcount}</span><br />
|
|
<small>[[global:views]]</small>
|
|
</div>
|
|
<div class="col-md-1 stats">
|
|
<span class="human-readable-number" title="{topics.postcount}">{topics.postcount}</span><br />
|
|
<small>[[global:posts]]</small>
|
|
</div>
|
|
<div class="col-md-3">
|
|
<div class="card" style="border-color: {bgColor}">
|
|
<!-- IF topics.unreplied -->
|
|
<p>
|
|
[[category:no_replies]]
|
|
</p>
|
|
<!-- ELSE -->
|
|
<p>
|
|
<a href="<!-- IF topics.teaser.user.userslug -->{relative_path}/user/{topics.teaser.user.userslug}<!-- ELSE -->#<!-- ENDIF topics.teaser.user.userslug -->">
|
|
<strong>{topics.teaser.user.username}</strong>
|
|
</a>
|
|
<small class="timeago" title="{topics.teaser.timestamp}"></small>
|
|
</p>
|
|
<p>
|
|
{topics.teaser.content}
|
|
</p>
|
|
<!-- ENDIF topics.unreplied -->
|
|
</div>
|
|
</div>
|
|
<!-- ELSE -->
|
|
<div class="col-md-4">
|
|
|
|
</div>
|
|
<!-- ENDIF !categories.link -->
|
|
</div>
|
|
</li>
|
|
<!-- END topics -->
|
|
</ul> |