2016-07-29 19:31:36 +00:00
|
|
|
<tr>
|
2016-07-30 13:48:09 +00:00
|
|
|
<td class="topicIcon{% if topic.unread(user.id) %} unread{% endif %}{% if topic.type == 2 %} topicAnnouncement{% endif %}">
|
|
|
|
<div class="fa fa-2x fa-{% if topic.type == 1 %}thumb-tack{% elseif topic.type == 2 %}bullhorn{% elseif topic.status == 1 %}lock{% else %}navicon{% endif %}"></div>
|
2016-07-29 19:31:36 +00:00
|
|
|
</td>
|
2016-07-30 13:48:09 +00:00
|
|
|
<td class="topicTitle{% if topic.type == 2 %} topicAnnouncement{% endif %}">
|
|
|
|
<a href="{{ route('forums.topic', topic.id) }}" class="default">{{ topic.title }}</a>
|
2016-07-29 19:31:36 +00:00
|
|
|
</td>
|
2016-07-30 13:48:09 +00:00
|
|
|
<td class="topicAuthor{% if topic.type == 2 %} topicAnnouncement{% endif %}">
|
|
|
|
{% if topic.firstPost.poster.id %}
|
|
|
|
<a href="{{ route('user.profile', topic.firstPost.poster.id) }}" class="default" style="color: {{ topic.firstPost.poster.colour }}; text-shadow: 0 0 5px {% if topic.firstPost.poster.colour != 'inherit' %}{{ topic.firstPost.poster.colour }}{% else %}#222{% endif %};">{{ topic.firstPost.poster.username }}</a>
|
2016-07-29 19:31:36 +00:00
|
|
|
{% else %}
|
|
|
|
[deleted user]
|
|
|
|
{% endif %}
|
|
|
|
</td>
|
2016-07-30 13:48:09 +00:00
|
|
|
<td class="topicCounts{% if topic.type == 2 %} topicAnnouncement{% endif %}">
|
|
|
|
<div class="replies" title="Amount of replies to this topic.">{{ topic.replyCount }}</div>
|
|
|
|
<div class="views" title="Amount of times this topic has been viewed.">{{ topic.views }}</div>
|
2016-07-29 19:31:36 +00:00
|
|
|
</td>
|
2016-07-30 13:48:09 +00:00
|
|
|
<td class="topicLast{% if topic.type == 2 %} topicAnnouncement{% endif %}">
|
|
|
|
{% if topic.lastPost.poster.id %}
|
|
|
|
<a href="{{ route('user.profile', topic.lastPost.poster.id) }}" class="default" style="color: {{ topic.lastPost.poster.colour }}; text-shadow: 0 0 5px {% if topic.lastPost.poster.colour != 'inherit' %}{{ topic.lastPost.poster.colour }}{% else %}#222{% endif %};">{{ topic.lastPost.poster.username }}</a>
|
2016-07-29 19:31:36 +00:00
|
|
|
{% else %}
|
|
|
|
[deleted user]
|
2016-07-30 13:48:09 +00:00
|
|
|
{% endif %} <a href="{{ route('forums.post', topic.lastPost.id) }}" class="default fa fa-tag"></a><br>
|
2016-08-04 21:24:08 +00:00
|
|
|
<time class="time-ago" datetime="{{ topic.lastPost.time|date('r') }}">{{ topic.lastPost.time|date(config('general.date_format')) }}</time>
|
2016-07-29 19:31:36 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|