|
@ -13,7 +13,7 @@ |
|
|
{% for post in posts %} |
|
|
{% for post in posts %} |
|
|
<tr> |
|
|
<tr> |
|
|
<td class="minimal"> |
|
|
<td class="minimal"> |
|
|
{{ post.time | ago }} ago |
|
|
<small>{{ post.time | ago }} ago</small> |
|
|
</td> |
|
|
</td> |
|
|
<td class="minimal"> |
|
|
<td class="minimal"> |
|
|
<a href="?/{{ config.board_path|sprintf(post.board) }}{{ config.file_index }}">{{ config.board_abbreviation|sprintf(post.board) }}</a> |
|
|
<a href="?/{{ config.board_path|sprintf(post.board) }}{{ config.file_index }}">{{ config.board_abbreviation|sprintf(post.board) }}</a> |
|
@ -29,51 +29,59 @@ |
|
|
</a> |
|
|
</a> |
|
|
</td> |
|
|
</td> |
|
|
<td class="minimal"> |
|
|
<td class="minimal"> |
|
|
{% if post.thread %} |
|
|
<small> |
|
|
{{ post.thread }} |
|
|
{% if post.thread %} |
|
|
{% else %} |
|
|
{{ post.thread }} |
|
|
<small>(OP)</small> |
|
|
{% else %} |
|
|
{% endif %} |
|
|
(OP) |
|
|
|
|
|
{% endif %} |
|
|
|
|
|
</small> |
|
|
</td> |
|
|
</td> |
|
|
<td class="minimal"> |
|
|
<td class="minimal"> |
|
|
<a href="?/IP/{{ post.ip }}"> |
|
|
{% if mod|hasPermission(config.mod.show_ip, post.board) %} |
|
|
{{ post.ip }} |
|
|
<a href="?/IP/{{ post.ip }}"> |
|
|
</a> |
|
|
{{ post.ip }} |
|
|
</td> |
|
|
|
|
|
<td class="minimal" > |
|
|
|
|
|
{% if post.email|length > 0 %} |
|
|
|
|
|
{# start email #} |
|
|
|
|
|
<a class="email" href="mailto:{{ post.email }}"> |
|
|
|
|
|
{% endif %} |
|
|
|
|
|
{% set capcode = post.capcode|capcode %} |
|
|
|
|
|
<span {% if capcode.name %}style="{{ capcode.name }}" {% endif %}class="name">{{ post.name }}</span> |
|
|
|
|
|
{% if post.trip|length > 0 %} |
|
|
|
|
|
<span {% if capcode.trip %}style="{{ capcode.trip }}" {% endif %}class="trip">{{ post.trip }}</span> |
|
|
|
|
|
{% endif %} |
|
|
|
|
|
{% if post.email|length > 0 %} |
|
|
|
|
|
{# end email #} |
|
|
|
|
|
</a> |
|
|
</a> |
|
|
|
|
|
{% else %} |
|
|
|
|
|
<em>hidden</em> |
|
|
{% endif %} |
|
|
{% endif %} |
|
|
{% if capcode %} |
|
|
</td> |
|
|
{{ capcode.cap }} |
|
|
<td class="minimal" > |
|
|
{% endif %} |
|
|
<small> |
|
|
|
|
|
{% if post.email|length > 0 %} |
|
|
|
|
|
{# start email #} |
|
|
|
|
|
<a class="email" href="mailto:{{ post.email }}"> |
|
|
|
|
|
{% endif %} |
|
|
|
|
|
{% set capcode = post.capcode|capcode %} |
|
|
|
|
|
<span {% if capcode.name %}style="{{ capcode.name }}" {% endif %}class="name">{{ post.name }}</span> |
|
|
|
|
|
{% if post.trip|length > 0 %} |
|
|
|
|
|
<span {% if capcode.trip %}style="{{ capcode.trip }}" {% endif %}class="trip">{{ post.trip }}</span> |
|
|
|
|
|
{% endif %} |
|
|
|
|
|
{% if post.email|length > 0 %} |
|
|
|
|
|
{# end email #} |
|
|
|
|
|
</a> |
|
|
|
|
|
{% endif %} |
|
|
|
|
|
{% if capcode %} |
|
|
|
|
|
{{ capcode.cap }} |
|
|
|
|
|
{% endif %} |
|
|
|
|
|
</small> |
|
|
</td> |
|
|
</td> |
|
|
<td class="minimal" > |
|
|
<td class="minimal" > |
|
|
{% if post.subject %} |
|
|
{% if post.subject %} |
|
|
{{ post.subject }} |
|
|
<small>{{ post.subject }}</small> |
|
|
{% else %} |
|
|
{% else %} |
|
|
– |
|
|
– |
|
|
{% endif %} |
|
|
{% endif %} |
|
|
</td> |
|
|
</td> |
|
|
<td class="minimal"> |
|
|
<td class="minimal"> |
|
|
{% if post.file %} |
|
|
{% if post.file %} |
|
|
{{ post.file }} <small>({{ post.filesize | filesize }})</small> |
|
|
<small>{{ post.file }} ({{ post.filesize | filesize }})</small> |
|
|
{% else %} |
|
|
{% else %} |
|
|
– |
|
|
– |
|
|
{% endif %} |
|
|
{% endif %} |
|
|
</td> |
|
|
</td> |
|
|
<td> |
|
|
<td> |
|
|
<em>{{ post.snippet }}</em> |
|
|
<small><em>{{ post.snippet }}</em></small> |
|
|
</td> |
|
|
</td> |
|
|
</tr> |
|
|
</tr> |
|
|
{% endfor %} |
|
|
{% endfor %} |
|
|