2018-04-22 07:59:44 -04:00
|
|
|
{% block support_item %}
|
2018-04-22 18:00:05 -04:00
|
|
|
{% if support != None %}
|
2018-04-22 07:59:44 -04:00
|
|
|
|
|
|
|
<div class="panel panel-default" style="margin-top: 0px">
|
|
|
|
<div class="panel-heading" href="#support{{ support.pid }}" aria-expanded="true" aria-controls="support{{ support.pid }}" role="tab" id="support{{ support.pid }}">
|
2018-05-06 12:13:02 -04:00
|
|
|
<font color="green">started at {{ moment(support.timestamp).format('ll') }}</font></b></a>
|
2018-04-22 07:59:44 -04:00
|
|
|
</div>
|
|
|
|
</div> <!-- end of heading -->
|
|
|
|
|
|
|
|
<br />
|
|
|
|
{% for line in support.inv_lines %}
|
|
|
|
<div align="right">{{ line.topic.owner.email }} {{ moment(line.timestamp).format('lll') }}</div>
|
|
|
|
{{ line.line }} <br />
|
|
|
|
{% endfor %}
|
|
|
|
{% endif %}
|
|
|
|
|
2018-04-22 18:00:05 -04:00
|
|
|
<form method="POST" action="{{ url_for('panel.support', topic=support.hashtag) }}">
|
2018-04-22 07:59:44 -04:00
|
|
|
{{ form.line | safe }}
|
|
|
|
{% for error in form.line.errors %}
|
|
|
|
{{ error }}<br />
|
|
|
|
{% endfor %}
|
|
|
|
|
|
|
|
{{ form.csrf_token() }}
|
|
|
|
{{ form.submit }}
|
|
|
|
</form>
|
|
|
|
|
|
|
|
{% endblock %}
|
|
|
|
|