2018-10-20 16:25:58 +00:00
|
|
|
{% from 'proposal/macros/comment.html' import comment_entry %}
|
|
|
|
|
2018-06-26 21:48:25 +00:00
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-12">
|
|
|
|
<div class="card my-6" id="incoming_txs">
|
2019-02-10 00:21:58 +00:00
|
|
|
<h5 style="border-radius:0px !important;" id="comments" class="card-header">Comments</h5>
|
2018-08-19 13:48:56 +00:00
|
|
|
<div class="card-body comments-panel">
|
2018-07-01 00:14:41 +00:00
|
|
|
{% if logged_in %}
|
|
|
|
<form method="post" action="comment">
|
2018-07-02 21:14:10 +00:00
|
|
|
<input type="hidden" name="pid" value="{{proposal.id}}">
|
2018-07-01 00:14:41 +00:00
|
|
|
<textarea class="comment" name="text" rows="6" cols="60"></textarea>
|
2018-08-23 08:23:53 +00:00
|
|
|
<br><br>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-8">
|
|
|
|
<div class="alert alert-secondary" role="alert">
|
|
|
|
Posting imgur/imgflip media can be done by linking directly to the image, no [img] bbcode needed.
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<input type="submit" value="add comment">
|
2018-07-01 00:14:41 +00:00
|
|
|
</form>
|
|
|
|
{% else %}
|
2018-10-20 16:25:58 +00:00
|
|
|
You need to be <a href="{{ url_for('login') }}">logged in</a> to comment.
|
2018-07-02 21:14:10 +00:00
|
|
|
<br>
|
2018-07-01 00:14:41 +00:00
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
<br>
|
2018-06-26 21:48:25 +00:00
|
|
|
|
2018-10-20 16:25:58 +00:00
|
|
|
{% for c in proposal._comments if not c.automated %}
|
|
|
|
{{ comment_entry(c, proposal) }}
|
2018-07-02 21:14:10 +00:00
|
|
|
{% endfor %}
|
2018-07-01 00:14:41 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|