search.jinja 659 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
{% extends "core/base.jinja" %}

{% from 'forum/macros.jinja' import display_message %}

{% block content %}
    <div id="forum">
        <div class="search-results">
            {% for m in object_list %}
                {% if user.can_view(m) %}
                    <div class="result-box">
                        <div class="result-topic">
                            {{ m }}
                        </div>
                        <div class="result-message">
                            {{ m.message }}
                        </div>
                    </div>
                {% endif %}
            {% endfor %}
        </div>
    </div>
{% endblock %}