search.jinja 592 Bytes
Newer Older
1 2
{% extends "core/base.jinja" %}

3
{% from 'forum/macros.jinja' import display_message, display_breadcrumb, display_search_bar %}
4 5 6

{% block content %}
    <div id="forum">
Sli's avatar
Sli committed
7
    {{ display_search_bar(request) }}
Sli's avatar
Sli committed
8 9
    {% if object_list|length != 0 %}
        <br>
10 11
        <div class="search-results">
            {% for m in object_list %}
12
                {{ display_breadcrumb(m.topic.forum, m.topic) }}
Sli's avatar
Sli committed
13
                {{ display_message(m, user) }}
14 15
            {% endfor %}
        </div>
Sli's avatar
Sli committed
16 17 18
    {% else %}
        {% trans %}No result found{% endtrans %}
    {% endif %}
19
    </div>
Sli's avatar
Sli committed
20

21
{% endblock %}