{% extends 'board_base.html' %} {% load i18n %} {% load highlight %} {% block sub-title %}{% trans "Search" %}{% endblock sub-title %} {% block content %} {% if not query %}
{% blocktrans trimmed count number_of_results=page.paginator.count %} Your search has returned {{ number_of_results }} result {% plural %} Your search has returned {{ number_of_results }} results {% endblocktrans %}
{{ result.topic_subject }}
{% if result.poster %}
{% url 'forum_member:profile' result.poster as poster_url %}
{% blocktrans trimmed with poster_url=poster_url username=result.poster_name creation_date=result.created %}
By: {{ username }} on {{ creation_date }}
{% endblocktrans %}
{% else %}
{% blocktrans trimmed with poster_username=result.poster_name creation_date=result.created %}
By: {{ poster_username }} on {{ creation_date }}
{% endblocktrans %}
{% endif %}
|
{% highlight result.text with request.GET.q max_lenght 800 %} |
{% trans "No results." %} |