{% macro render_thread(thread, current_user) -%} {% if current_user.is_authenticated %}
{{ current_user.display_name }}
{% if current_user.canCommentRL() %}

{% else %}

{% endif %}
{% endif %} {% endmacro %} {% macro render_threadlist(threads, compact=False) -%} {% for t in threads %} {% if not compact %} {{ t.created_at | datetime }} {% if not t.review %} {% elif t.review.recommends %} {% else %} {% endif %} {% endif %} {% if t.private %}🔒 {% endif %} {{ t.title }} by {{ t.author.display_name }} {% else %}

{% if list_group %}class="list-group-item"{% endif %}>No threads found

{% endfor %} {% endmacro %}