##// END OF EJS Templates
Merged with BB
Merged with BB

File last commit:

r1072:8518d258 default
r1580:8fb1b3b1 merge default
Show More
search.html
42 lines | 1.1 KiB | text/html | HtmlLexer
neko259
Moved search templates into boards module. Updated translations
r706 {% extends 'boards/base.html' %}
{% load board %}
{% load i18n %}
neko259
Added noindex to the pages without unique content or user-specific ones
r1040 {% block head %}
neko259
Removed much of the word "search" all over the search page
r1072 <title>{% trans 'Search' %} - {{ site_name }}</title>
neko259
Added noindex to the pages without unique content or user-specific ones
r1040 <meta name="robots" content="noindex">
{% endblock %}
neko259
Moved search templates into boards module. Updated translations
r706 {% block content %}
<div class="post-form-w">
neko259
Use own search form and view
r718 <div class="post-form">
<form method="get" action="">
{{ form.as_div }}
<div class="form-submit">
neko259
Removed much of the word "search" all over the search page
r1072 <input type="submit" value="{% trans 'Ok' %}">
neko259
Use own search form and view
r718 </div>
</form>
</div>
neko259
Moved search templates into boards module. Updated translations
r706 </div>
neko259
Use own search form and view
r718 {% if page %}
neko259
Updated 'next page' and 'previous page' links in search results.
r707 {% if page.has_previous %}
<div class="page_link">
neko259
Use own search form and view
r718 <a href="?query={{ query }}&amp;page={{ page.previous_page_number }}">{% trans "Previous page" %}
neko259
Updated 'next page' and 'previous page' links in search results.
r707 </a>
</div>
{% endif %}
neko259
Moved search templates into boards module. Updated translations
r706 {% for result in page.object_list %}
neko259
Added required tags. At least one such tag is needed to create a thread. All...
r922 {{ result.object.get_search_view }}
neko259
Moved search templates into boards module. Updated translations
r706 {% endfor %}
neko259
Updated 'next page' and 'previous page' links in search results.
r707 {% if page.has_next %}
<div class="page_link">
neko259
Fixed pagination in search results
r719 <a href="?query={{ query }}&amp;page={{ page.next_page_number }}">{% trans "Next page" %}
neko259
Updated 'next page' and 'previous page' links in search results.
r707 </a>
neko259
Moved search templates into boards module. Updated translations
r706 </div>
{% endif %}
{% endif %}
neko259
Added required tags. At least one such tag is needed to create a thread. All...
r922 {% endblock %}