##// END OF EJS Templates
Show paginator only if there is one, even if corresponding mixin is used
Show paginator only if there is one, even if corresponding mixin is used

File last commit:

r1950:78a65fab default
r2095:b923ca76 default
Show More
search.html
54 lines | 1.4 KiB | text/html | HtmlLexer
neko259
Simplified pagination templates. Added a list of pages to the search results page
r1878 {% extends 'boards/paginated.html' %}
neko259
Moved search templates into boards module. Updated translations
r706
{% 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">
neko259
Simplified pagination templates. Added a list of pages to the search results page
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 %}
neko259
Added noindex to the pages without unique content or user-specific ones
r1040 {% 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
Search by tags also, not only their posts
r1950 {% if tags %}
<div id="posts-table">{% trans "Tags" %}:
{{ tags|safe }}
</div>
{% endif %}
neko259
Simplified pagination templates. Added a list of pages to the search results page
r1878 {% if current_page %}
{% if prev_page_link %}
neko259
Updated 'next page' and 'previous page' links in search results.
r707 <div class="page_link">
neko259
Simplified pagination templates. Added a list of pages to the search results page
r1878 <a href="{{ prev_page_link }}">&lt;&lt; {% trans "Previous page" %} &lt;&lt;</a>
neko259
Updated 'next page' and 'previous page' links in search results.
r707 </div>
{% endif %}
neko259
Simplified pagination templates. Added a list of pages to the search results page
r1878 {% for result in current_page.object_list %}
neko259
Remove dependency on haystack, use only built-in full text search
r1729 {% post_view result truncated=True need_op_data=True %}
neko259
Moved search templates into boards module. Updated translations
r706 {% endfor %}
neko259
Simplified pagination templates. Added a list of pages to the search results page
r1878 {% if next_page_link %}
neko259
Updated 'next page' and 'previous page' links in search results.
r707 <div class="page_link">
neko259
Simplified pagination templates. Added a list of pages to the search results page
r1878 <a href="{{ next_page_link }}">&gt;&gt; {% trans "Next page" %} &gt;&gt;</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 %}
neko259
Simplified pagination templates. Added a list of pages to the search results page
r1878