##// END OF EJS Templates
Added test for reflinks. Added management command to get posts from other node...
Added test for reflinks. Added management command to get posts from other node (incomplete). Added ability to parse global reflinks in the text

File last commit:

r724:7b9eaa29 default
r841:c295c39c decentral
Show More
search.html
37 lines | 1.1 KiB | text/html | HtmlLexer
{% extends 'boards/base.html' %}
{% load board %}
{% load i18n %}
{% block content %}
<div class="post-form-w">
<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>
</div>
{% if page %}
{% if page.has_previous %}
<div class="page_link">
<a href="?query={{ query }}&amp;page={{ page.previous_page_number }}">{% trans "Previous page" %}
</a>
</div>
{% endif %}
{% for result in page.object_list %}
{{ result.object.get_view }}
{% endfor %}
{% if page.has_next %}
<div class="page_link">
<a href="?query={{ query }}&amp;page={{ page.next_page_number }}">{% trans "Next page" %}
</a>
</div>
{% endif %}
{% endif %}
{% endblock %}