##// END OF EJS Templates
Don't check perms for every post moderation action
Don't check perms for every post moderation action

File last commit:

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