Nonactivate a post manually causes its status changed to 3 which cannot be edited and its status cannot be changed.

This commit is contained in:
2017-09-07 13:45:05 +07:00
parent 3de31142e0
commit 796148a532
3 changed files with 8 additions and 5 deletions

View File

@@ -101,7 +101,7 @@
<br>
<button type="submit"
{% if (post.status == 0 or editor_now != creator.id) %}
{% if (post.status == 0 or post.status == 3 or editor_now != creator.id) %}
disabled
{% endif %}
>