main.jinja 569 Bytes
Newer Older
Skia's avatar
Skia committed
1 2 3 4 5
{% extends "core/base.jinja" %}
{% from 'core/macros.jinja' import user_profile_link %}
{% from 'forum/macros.jinja' import display_forum %}

{% block content %}
Skia's avatar
Skia committed
6 7 8
    <p>
    <a href="{{ url('forum:main') }}">Forum</a> >
    </p>
Skia's avatar
Skia committed
9 10 11 12 13 14 15 16 17 18 19 20 21 22
    <h3>{% trans %}Forum{% endtrans %}</h3>
    <a href="{{ url('forum:new_forum') }}">New forum</a>
    {% for f in forum_list %}
    <div style="padding: 4px; margin: 4px">
    {{ display_forum(f) }}
        {% for c in f.children.all() %}
        {{ display_forum(c) }}
        {% endfor %}
    </div>
    {% endfor %}
{% endblock %}