Fix editor privilage issues
This commit is contained in:
parent
a6267699cc
commit
6040897552
@ -99,7 +99,7 @@
|
|||||||
<br>
|
<br>
|
||||||
|
|
||||||
<button type="submit"
|
<button type="submit"
|
||||||
{% if (post.status == 0 or editor_now != creator.id) %}
|
{% if (post.status == 0 and post.valid_at < timestamp or editor_now != creator.id) %}
|
||||||
disabled
|
disabled
|
||||||
{% endif %}
|
{% endif %}
|
||||||
>
|
>
|
||||||
|
Loading…
Reference in New Issue
Block a user