Prevent approval of packages with an 'Other' license

This commit is contained in:
rubenwardy 2018-07-28 17:30:43 +01:00
parent 514a24e2c4
commit ab59b7f4ba
No known key found for this signature in database
GPG Key ID: A1E29D52FF81513C
1 changed files with 3 additions and 5 deletions

View File

@ -27,6 +27,9 @@
{% elif topic_error_lvl == "error" %}
Please fix the below topic issue(s).
{% elif "Other" in package.license.name or "Other" in package.media_license.name %}
Please wait for the license to be added to CDB.
{% else %}
{% if package.screenshots.count() == 0 %}
<b>You should add at least one screenshot, but this isn't required.</b><br />
@ -108,11 +111,6 @@
<b>Warning:</b> Non-free media.
</div>
{% endif %}
{% if not package.approved and ("Other" in package.license.name or "Other" in package.media_license.name) %}
<div class="box box_grey alert alert-warning" style="margin-top: 0;">
Make sure to check the specific license used here
</div>
{% endif %}
<table>
<tr>
<td>Name</td>