mirror of
https://github.com/minetest/contentdb.git
synced 2024-12-23 06:22:24 +01:00
Prevent approval of packages with an 'Other' license
This commit is contained in:
parent
514a24e2c4
commit
ab59b7f4ba
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user