mirror of
https://github.com/minetest/contentdb.git
synced 2024-12-22 22:12:24 +01:00
Disallow approving release when it's still importing
This commit is contained in:
parent
ba9879076d
commit
e07f2515a1
@ -28,12 +28,12 @@
|
||||
{% endif %}
|
||||
|
||||
<br />
|
||||
{% endif %}
|
||||
|
||||
{% if package.checkPerm(current_user, "APPROVE_RELEASE") %}
|
||||
{{ render_field(form.approved) }}
|
||||
{% else %}
|
||||
Approved: {{ release.approved }}
|
||||
{% if package.checkPerm(current_user, "APPROVE_RELEASE") %}
|
||||
{{ render_field(form.approved) }}
|
||||
{% else %}
|
||||
Approved: {{ release.approved }}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
{{ render_submit_field(form.submit) }}
|
||||
|
Loading…
Reference in New Issue
Block a user