{% from 'core/macros.jinja' import user_profile_link_short_name %} {% macro display_forum(forum, user, is_root=False) %}
{{ forum.description }}
{% if not is_root %} {% else %}{{ forum.topic_number }}
{{ topic.description }}
{% if user.can_edit(topic) %} {% endif %}{% trans %}Forum{% endtrans %} {% for f in forum.get_parent_list()|reverse %} > {{ f }} {% endfor %} > {{ forum }} {% if topic != "" %} > {{ topic }}{%- endif -%}
{% endmacro %} {% macro display_message(m, user, unread=False) %} {% if user.can_view(m) %} {% else %} {% endif %} {{ m.mark_as_read(user) or "" }} {% endmacro %} {% macro display_search_bar(request) %} {% endmacro %}