2015-06-27 19:29:37 +00:00
|
|
|
<tr>
|
2015-11-21 15:27:37 +00:00
|
|
|
<td class="topicIcon{% if thread.unread(user.id) %} unread{% endif %}{% if thread.type == 2 %} topicAnnouncement{% endif %}">
|
2016-01-10 18:24:47 +00:00
|
|
|
<div class="fa fa-2x fa-{% if thread.type == 1 %}thumb-tack{% elseif thread.type == 2 %}bullhorn{% elseif thread.status == 1 %}lock{% else %}navicon{% endif %}"></div>
|
2015-06-27 19:29:37 +00:00
|
|
|
</td>
|
2015-11-21 15:27:37 +00:00
|
|
|
<td class="topicTitle{% if thread.type == 2 %} topicAnnouncement{% endif %}">
|
2016-03-10 18:54:36 +00:00
|
|
|
<a href="{{ route('forums.thread', thread.id) }}" class="default">{{ thread.title }}</a>
|
2015-06-27 19:29:37 +00:00
|
|
|
</td>
|
2015-11-21 15:27:37 +00:00
|
|
|
<td class="topicAuthor{% if thread.type == 2 %} topicAnnouncement{% endif %}">
|
2015-11-15 14:29:26 +00:00
|
|
|
{% if thread.firstPost.poster.id %}
|
2016-03-10 18:54:36 +00:00
|
|
|
<a href="{{ route('user.profile', thread.firstPost.poster.id) }}" class="default" style="color: {{ thread.firstPost.poster.colour }}; text-shadow: 0 0 5px {% if thread.firstPost.poster.colour != 'inherit' %}{{ thread.firstPost.poster.colour }}{% else %}#222{% endif %};">{{ thread.firstPost.poster.username }}</a>
|
2015-06-28 14:43:46 +00:00
|
|
|
{% else %}
|
|
|
|
[deleted user]
|
|
|
|
{% endif %}
|
2015-06-27 19:29:37 +00:00
|
|
|
</td>
|
2015-11-21 15:27:37 +00:00
|
|
|
<td class="topicCounts{% if thread.type == 2 %} topicAnnouncement{% endif %}">
|
2015-11-15 14:29:26 +00:00
|
|
|
<div class="replies" title="Amount of replies to this thread.">{{ thread.replyCount }}</div>
|
|
|
|
<div class="views" title="Amount of times this thread has been viewed.">{{ thread.views }}</div>
|
2015-06-27 19:29:37 +00:00
|
|
|
</td>
|
2015-11-21 15:27:37 +00:00
|
|
|
<td class="topicLast{% if thread.type == 2 %} topicAnnouncement{% endif %}">
|
2015-11-15 14:29:26 +00:00
|
|
|
{% if thread.lastPost.poster.id %}
|
2016-03-10 18:54:36 +00:00
|
|
|
<a href="{{ route('user.profile', thread.lastPost.poster.id) }}" class="default" style="color: {{ thread.lastPost.poster.colour }}; text-shadow: 0 0 5px {% if thread.lastPost.poster.colour != 'inherit' %}{{ thread.lastPost.poster.colour }}{% else %}#222{% endif %};">{{ thread.lastPost.poster.username }}</a>
|
2015-06-28 14:43:46 +00:00
|
|
|
{% else %}
|
|
|
|
[deleted user]
|
2016-03-20 16:37:59 +00:00
|
|
|
{% endif %} <a href="{{ route('forums.post', thread.lastPost.id) }}" class="default fa fa-tag"></a><br />
|
2016-03-31 20:03:25 +00:00
|
|
|
<time datetime="{{ thread.lastPost.time|date('r') }}">{{ thread.lastPost.time|date(config('date_format')) }}</time>
|
2015-06-27 19:29:37 +00:00
|
|
|
</td>
|
2015-06-28 14:43:46 +00:00
|
|
|
</tr>
|