##// END OF EJS Templates
Moved signatures block to the model block. All the signed content is in the 'content' block now. Removed edit time, previous and next posts links from the XML sync output because they can be computed from the post itself and can be changed locally for foreign posts (which breaks the signature)
Moved signatures block to the model block. All the signed content is in the 'content' block now. Removed edit time, previous and next posts links from the XML sync output because they can be computed from the post itself and can be changed locally for foreign posts (which breaks the signature)

File last commit:

r724:7b9eaa29 default
r838:2b96b9e7 decentral
Show More
search.html
37 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 %}
{% block content %}
<div class="post-form-w">
neko259
Use own search form and view
r718 <div class="post-form">
<h3>{% trans 'Search' %}</h3>
<form method="get" action="">
{{ form.as_div }}
<div class="form-submit">
<input type="submit" value="{% trans 'Search' %}">
</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 %}
{{ result.object.get_view }}
{% 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 %}
{% endblock %}