search.html
54 lines
| 1.4 KiB
| text/html
|
HtmlLexer
|
r1878 | {% extends 'boards/paginated.html' %} | ||
|
r706 | |||
{% load board %} | ||||
{% load i18n %} | ||||
|
r1040 | {% block head %} | ||
|
r1072 | <title>{% trans 'Search' %} - {{ site_name }}</title> | ||
|
r1040 | <meta name="robots" content="noindex"> | ||
|
r1878 | |||
{% if prev_page_link %} | ||||
<link rel="prev" href="{{ prev_page_link }}" /> | ||||
{% endif %} | ||||
{% if next_page_link %} | ||||
<link rel="next" href="{{ next_page_link }}" /> | ||||
{% endif %} | ||||
|
r1040 | {% endblock %} | ||
|
r706 | {% block content %} | ||
<div class="post-form-w"> | ||||
|
r718 | <div class="post-form"> | ||
<form method="get" action=""> | ||||
{{ form.as_div }} | ||||
<div class="form-submit"> | ||||
|
r1072 | <input type="submit" value="{% trans 'Ok' %}"> | ||
|
r718 | </div> | ||
</form> | ||||
</div> | ||||
|
r706 | </div> | ||
|
r1950 | {% if tags %} | ||
<div id="posts-table">{% trans "Tags" %}: | ||||
{{ tags|safe }} | ||||
</div> | ||||
{% endif %} | ||||
|
r1878 | {% if current_page %} | ||
{% if prev_page_link %} | ||||
|
r707 | <div class="page_link"> | ||
|
r1878 | <a href="{{ prev_page_link }}"><< {% trans "Previous page" %} <<</a> | ||
|
r707 | </div> | ||
{% endif %} | ||||
|
r1878 | {% for result in current_page.object_list %} | ||
|
r1729 | {% post_view result truncated=True need_op_data=True %} | ||
|
r706 | {% endfor %} | ||
|
r1878 | {% if next_page_link %} | ||
|
r707 | <div class="page_link"> | ||
|
r1878 | <a href="{{ next_page_link }}">>> {% trans "Next page" %} >></a> | ||
|
r706 | </div> | ||
{% endif %} | ||||
{% endif %} | ||||
|
r922 | {% endblock %} | ||
|
r1878 | |||