##// END OF EJS Templates
Fixed full form switching
Fixed full form switching

File last commit:

r707:64726435 default
r713:7f2e98f4 default
Show More
search.html
37 lines | 1.0 KiB | text/html | HtmlLexer
neko259
Moved search templates into boards module. Updated translations
r706 {% extends 'boards/base.html' %}
{% load board %}
{% load i18n %}
{% block content %}
<div class="post-form-w">
<h3>{% trans 'Search' %}</h3>
<form method="get" action="">
{{ form.as_p }}
<input type="submit" value="{% trans 'Search' %}">
</form>
</div>
{% if query %}
neko259
Updated 'next page' and 'previous page' links in search results.
r707 {% if page.has_previous %}
<div class="page_link">
<a href="?q={{ query }}&amp;page={{ page.previous_page_number }}">
{% trans "Previous page" %}
</a>
</div>
{% endif %}
neko259
Moved search templates into boards module. Updated translations
r706 {% for result in page.object_list %}
{{ result.object.get_view }}
{% empty %}
<div class="post">{% trans 'No results found.' %}</div>
{% endfor %}
neko259
Updated 'next page' and 'previous page' links in search results.
r707 {% if page.has_next %}
<div class="page_link">
<a href="?q={{ query }}&amp;page={{ page.next_page_number }}">
{% trans "Next page" %}
</a>
neko259
Moved search templates into boards module. Updated translations
r706 </div>
{% endif %}
{% endif %}
{% endblock %}