diff options
| author | Michael Walker <mike@barrucadu.co.uk> | 2015-05-10 13:22:53 +0100 |
|---|---|---|
| committer | Michael Walker <mike@barrucadu.co.uk> | 2015-05-10 13:22:53 +0100 |
| commit | 61d9dacdfb1f8b51ea89f6f3077e56ed8f622644 (patch) | |
| tree | 4f448a2af95e35aa36bff71c069d1ac5131a9914 /templates | |
| parent | 649255c9b9bff02686c1b7370474a414c70b8442 (diff) | |
When banning/deleting a post, return to the thread, not the board index (unless deleting the OP)
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/mod/ban_form.html | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/mod/ban_form.html b/templates/mod/ban_form.html index 6c7560ad..911a8dcd 100644 --- a/templates/mod/ban_form.html +++ b/templates/mod/ban_form.html @@ -12,6 +12,9 @@ {% if post and board %} <input type="hidden" name="delete" value="{% if delete %}1{% else %}0{% endif %}"> {% endif %} + {% if thread %} + <input type="hidden" name="thread" value="{{ thread }}"> + {% endif %} <table> |
