diff options
author | rubenwardy <rw@rubenwardy.com> | 2018-07-28 17:30:43 +0100 |
---|---|---|
committer | rubenwardy <rw@rubenwardy.com> | 2018-07-28 17:30:43 +0100 |
commit | ab59b7f4ba29618cec1f7cd619073a2c445aff2c (patch) | |
tree | 4a19ae86ce14ea5d07a98e7e0b1d312b88985045 | |
parent | 514a24e2c41686e91df25970b2b624d767c94c18 (diff) | |
download | cheatdb-ab59b7f4ba29618cec1f7cd619073a2c445aff2c.tar.xz |
Prevent approval of packages with an 'Other' license
-rw-r--r-- | app/templates/packages/view.html | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/app/templates/packages/view.html b/app/templates/packages/view.html index 9fdd2e7..eb9196d 100644 --- a/app/templates/packages/view.html +++ b/app/templates/packages/view.html @@ -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> |