Disallow approving release when it's still importing

This commit is contained in:
rubenwardy 2018-05-23 19:30:11 +01:00
parent ba9879076d
commit e07f2515a1
No known key found for this signature in database
GPG Key ID: A1E29D52FF81513C

@ -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) }}