{% if topic %} {% set replies = influxframework.get_all("Discussion Reply", {"topic": topic.name}, ["reply", "owner", "creation", "name"], order_by="creation")%} {% endif %}
{% if not single_thread %}
{% endif %} {% if topic and topic.title %}
{{ topic.title }}
{% endif %}
{% for reply in replies %} {% set index = loop.index %} {% include "influxframework/templates/discussions/reply_card.html" %} {% endfor %} {% if influxframework.session.user == "Guest" or (condition is defined and not condition) %}
{{ _("Want to discuss?") }}
{{ _("Post it here, our mentors will help you out.") }}
{% if influxframework.session.user == "Guest" %} {% elif condition is defined and not condition %} {% endif %}
{% else %} {% include "influxframework/templates/discussions/comment_box.html" %} {% endif %}