{% macro render_topics_table(topics, show_author=True) -%} {% if show_author %}{% endif %} {% for topic in topics %} {% if show_author %} {% endif %} {% endfor %}
Id TitleAuthorName Link Actions
{{ topic.topic_id }} [{{ topic.type.value }}] {{ topic.title }} {% if topic.wip %}[WIP]{% endif %} {{ topic.author.display_name}}{{ topic.name or ""}} {% if topic.link %}{{ topic.link | domain }}{% endif %} Create
{% endmacro %} {% macro render_topics(topics, current_user, show_author=True) -%} {% endmacro %}