{% load jmbo_inclusion_tags jmbo_template_tags %} {% load comments likes_inclusion_tags moderator_inclusion_tags %} {% load livechat_tags mama_inclusion_tags %}
LIVE CHAT
{{ live_chat.description|safe|linebreaks }}
{% if commenting_closed %}
We have reached the maximum number of questions for this live chat. Comments have therefore been closed
Didn't get your question answered?
Visit askMAMA and ask there
{% else %} {% if can_comment %} {% render_comment_form for live_chat %} {% else %}
Comments will open when live chat begins
{% endif %} {% if live_chat.can_comment_code == 'auth_required' %}
Sign in to comment or ask a question
{% endif %} {% endif %}
{% if chat_comments %} {% for comment in chat_comments.object_list %}
{{ comment.name }} asked at {{ comment.submit_date.time }}
{{ comment.comment|linebreaks }}
{% if comment.livechatresponse_set.exists %}
{% for response in comment.livechatresponse_set.all %}
{{ response.author.first_name }} {{ response.author.last_name }} replied to {{ comment.name }} at {{ response.updated_at.time }}
{{ response.response }}
{% endfor %}
{% endif %}
{% endfor %} {% else %}
No questions yet. Go ahead and ask a question.
{% endif %}