mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-12-13 08:11:12 +01:00
ec90c96459
- boards.php Passes $search parameters into Twig. - js/board-reictory.js Stores last search parameters and handles tag click events. - Twig now passes old search parameters into the search form. - Tags now link in such a way that they will preserve form data and other tags when clicked in a browser without JavaScript. Signed-off-by: 8n-tech <8n-tech@users.noreply.github.com>
14 lines
823 B
HTML
14 lines
823 B
HTML
{% for board in boards %}
|
|
<tr>
|
|
<td class="board-meta">{{ board.locale }}</td>
|
|
<td class="board-uri"><div class="board-cell">
|
|
<a href='/{{board['uri']}}/'>/{{board['uri']}}/</a>
|
|
{% if board['sfw'] %}<i class="fa fa-briefcase board-sfw" title="SFW"></i>{% endif %}
|
|
</div></td>
|
|
<td class="board-title"><div class="board-cell" title="Created {{board['time']}} ({{board['ago']}} ago)">{{ board['title'] }}</div></td>
|
|
<td class="board-pph"><div class="board-cell">{{board['pph']}}</td>
|
|
<td class="board-max"><div class="board-cell">{{board['posts_total']}}</td>
|
|
<td class="board-unique"><div class="board-cell">{{board['active']}}</td>
|
|
<td class="board-tags"><div class="board-cell">{% for tag in board.tags %}<a class="tag-link" href="{{ tag_query }}{{ tag }}">{{ tag }}</a>{% endfor %}</div></td>
|
|
</tr>
|
|
{% endfor %} |