mirror of
https://github.com/ae-utbm/sith.git
synced 2024-12-23 08:11:19 +00:00
21 lines
592 B
Django/Jinja
21 lines
592 B
Django/Jinja
{% extends "core/base.jinja" %}
|
|
|
|
{% from 'forum/macros.jinja' import display_message, display_breadcrumb, display_search_bar %}
|
|
|
|
{% block content %}
|
|
<div id="forum">
|
|
{{ display_search_bar(request) }}
|
|
{% if object_list|length != 0 %}
|
|
<br>
|
|
<div class="search-results">
|
|
{% for m in object_list %}
|
|
{{ display_breadcrumb(m.topic.forum, m.topic) }}
|
|
{{ display_message(m, user) }}
|
|
{% endfor %}
|
|
</div>
|
|
{% else %}
|
|
{% trans %}No result found{% endtrans %}
|
|
{% endif %}
|
|
</div>
|
|
|
|
{% endblock %} |