Handles delete and redraft replies
This commit is contained in:
@ -19,6 +19,10 @@
|
||||
</div>
|
||||
{% endif %}
|
||||
<div class="column is-two-thirds">
|
||||
{% if draft.reply_parent %}
|
||||
{% include 'snippets/status/status.html' with status=draft.reply_parent no_interact=True %}
|
||||
{% endif %}
|
||||
|
||||
{% if not draft %}
|
||||
{% include 'snippets/create_status.html' %}
|
||||
{% else %}
|
||||
@ -26,6 +30,5 @@
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
{{ form.ap_p }}
|
||||
{% endwith %}
|
||||
{% endblock %}
|
||||
|
@ -27,7 +27,8 @@
|
||||
{% trans "Delete status" %}
|
||||
</button>
|
||||
</form>
|
||||
|
||||
{% elif no_interact %}
|
||||
{# nothing here #}
|
||||
{% elif request.user.is_authenticated %}
|
||||
<div class="field has-addons">
|
||||
<div class="control">
|
||||
|
Reference in New Issue
Block a user