This repository has been archived on 2024-06-26. You can view files and clone it, but cannot push or open issues or pull requests.
sakura/_sakura/templates/yuuno/forum/topicEntry.tpl

28 lines
1.5 KiB
Smarty
Raw Normal View History

2015-06-27 19:29:37 +00:00
<tr>
2015-06-28 14:43:46 +00:00
<td class="topicIcon read">
2015-06-27 19:29:37 +00:00
<div class="fa fa-2x fa-{% if topic.topic_status == 1 %}lock{% elseif topic.topic_type == 2 %}exclamation{% elseif topic.topic_type == 1 %}thumb-tack{% else %}navicon{% endif %}"></div>
</td>
<td class="topicTitle">
<a href="/forum/thread/{{ topic.topic_id }}" class="default">{{ topic.topic_title }}</a>
</td>
<td class="topicAuthor">
2015-06-28 14:43:46 +00:00
{% if topic.first_poster.user.id %}
<a href="/u/{{ topic.first_poster.user.id }}" class="default" style="color: {% if topic.first_poster.user.name_colour %}{{ topic.first_poster.user.name_colour }}{% else %}{{ topic.first_poster.rank.colour }}{% endif %};">{{ topic.first_poster.user.username }}</a>
{% else %}
[deleted user]
{% endif %}
2015-06-27 19:29:37 +00:00
</td>
<td class="topicCounts">
<div class="replies" title="Amount of replies to this topic.">{{ topic.topic_replies }}</div>
<div class="views" title="Amount of times this topic has been viewed.">{{ topic.topic_views }}</div>
</td>
<td class="topicLast">
2015-06-28 14:43:46 +00:00
{% if topic.last_poster.user.id %}
<a href="/u/{{ topic.last_poster.user.id }}" class="default" style="color: {% if topic.last_poster.user.name_colour %}{{ topic.last_poster.user.name_colour }}{% else %}{{ topic.last_poster.rank.colour }}{% endif %};">{{ topic.last_poster.user.username }}</a>
{% else %}
[deleted user]
{% endif %} <a href="#" class="default fa fa-tag"></a><br />
2015-06-27 19:29:37 +00:00
2000 years ago
</td>
2015-06-28 14:43:46 +00:00
</tr>