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.

75 lines
3.3 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 -->>
10 years ago
<meta itemprop="name" content="{function.stripTags, title}">
10 years ago
<div class="col-md-7 col-sm-9 col-xs-11 content">
<div class="avatar hidden-sm hidden-xs pull-left">
<!-- IF showSelect -->
<div class="select fa-square-o">
<img src="{topics.user.picture}" class="img-circle user-img" />
<i class="fa fa-check"></i>
</div>
<!-- ELSE -->
<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>
<!-- ENDIF showSelect -->
</div>
10 years ago
<h1 component="topic/header" 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 />
10 years ago
<!-- IF template.category -->
10 years ago
<small>
<!-- IF topics.user.userslug -->
10 years ago
[[global:posted_ago_by, <span class="timeago" title="{topics.relativeTime}"></span>, <strong>{topics.user.username}</strong>]]
<!-- ELSE -->
[[global:posted_ago_by_guest, <span class="timeago" title="{topics.relativeTime}"></span>]]
<!-- ENDIF topics.user.userslug -->
10 years ago
</small>
<!-- ELSE -->
10 years ago
<small>
<!-- IF topics.user.userslug -->
10 years ago
[[global:posted_in_ago_by, <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>, <strong>{topics.user.username}</strong>]]
<!-- ELSE -->
[[global:posted_in_ago_by_guest, <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>]]
<!-- ENDIF topics.user.userslug -->
10 years ago
</small>
<!-- ENDIF template.category -->
</h1>
</div>
10 years ago
<div class="col-md-1 hidden-sm hidden-xs stats">
<span class="human-readable-number" title="{topics.postcount}">{topics.postcount}</span><br />
<small>[[global:posts]]</small>
</div>
<div class="col-md-1 hidden-sm hidden-xs stats">
<span class="human-readable-number" title="{topics.viewcount}">{topics.viewcount}</span><br />
<small>[[global:views]]</small>
</div>
10 years ago
<div class="col-md-3 col-sm-3 col-xs-1 teaser">
<div class="card" style="border-color: {bgColor}">
<!-- IF topics.unreplied -->
<p class="hidden-xs">
[[category:no_replies]]
</p>
<!-- ELSE -->
<p class="hidden-xs">
10 years ago
<strong>{topics.teaser.user.username}</strong>
<a class="permalink" href="{relative_path}/topic/{topics.slug}/{topics.teaser.index}">
10 years ago
<small class="timeago" title="{topics.teaser.timestamp}"></small>
</a>
</p>
<div class="post-content">
{topics.teaser.content}
</div>
<!-- ENDIF topics.unreplied -->
</div>
</div>
</li>
<!-- END topics -->
</ul>