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.
58 lines
2.7 KiB
Smarty
58 lines
2.7 KiB
Smarty
<ul id="topics-container" data-nextstart="{nextStart}">
|
|
<!-- BEGIN topics -->
|
|
<li class="category-item<!-- IF topics.deleted --> deleted<!-- ENDIF topics.deleted --><!-- IF topics.unread --> unread<!-- ENDIF topics.unread -->" data-tid="{topics.tid}" data-cid="{topics.cid}">
|
|
<div class="col-md-12 col-xs-12 panel panel-default topic-row">
|
|
|
|
<!-- 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 class="img-rounded user-img" src="{topics.user.picture}" title="{topics.user.username}" />
|
|
</a>
|
|
|
|
<h3>
|
|
<a href="{relative_path}/topic/{topics.slug}">
|
|
<strong><!-- IF topics.pinned --><i class="fa fa-thumb-tack"></i><!-- ENDIF topics.pinned --> <!-- IF topics.locked --><i class="fa fa-lock"></i><!-- ENDIF topics.locked --></strong>
|
|
<span class="topic-title">{topics.title}</span>
|
|
</a>
|
|
</h3>
|
|
|
|
<small>
|
|
<span class="topic-stats">
|
|
[[global:posts]]
|
|
<strong class="human-readable-number" title="{topics.postcount}">{topics.postcount}</strong>
|
|
</span>
|
|
|
|
|
<span class="topic-stats">
|
|
[[global:views]]
|
|
<strong class="human-readable-number" title="{topics.viewcount}">{topics.viewcount}</strong>
|
|
</span>
|
|
|
|
|
<span>
|
|
<!-- IF topics.user.userslug -->
|
|
[[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>, {topics.user.username}]]
|
|
<!-- 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 -->
|
|
</span>
|
|
|
|
|
|
<span class="pull-right">
|
|
<!-- IF topics.unreplied -->
|
|
<a href="{relative_path}/topic/{topics.slug}" itemprop="url">[[category:no_replies]]</a>
|
|
<!-- ELSE -->
|
|
<a href="<!-- IF topics.teaser.user.userslug -->{relative_path}/user/{topics.teaser.user.userslug}<!-- ELSE -->#<!-- ENDIF topics.teaser.user.userslug -->">
|
|
<img class="teaser-pic" src="{topics.teaser.user.picture}" title="{topics.teaser.user.username}"/>
|
|
</a>
|
|
<a href="{relative_path}/topic/{topics.slug}/{topics.teaser.index}">
|
|
[[global:replied_ago, <span class="timeago" title="{topics.teaser.timestamp}"></span>]]
|
|
</a>
|
|
<!-- ENDIF topics.unreplied -->
|
|
</span>
|
|
<!-- IMPORT partials/category/tags.tpl -->
|
|
</small>
|
|
</div>
|
|
</li>
|
|
<!-- END topics -->
|
|
</ul> |