From ab59b7f4ba29618cec1f7cd619073a2c445aff2c Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Sat, 28 Jul 2018 17:30:43 +0100 Subject: [PATCH] Prevent approval of packages with an 'Other' license --- app/templates/packages/view.html | 8 +++----- 1 file 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 %} You should add at least one screenshot, but this isn't required.
@@ -108,11 +111,6 @@ Warning: Non-free media. {% endif %} - {% if not package.approved and ("Other" in package.license.name or "Other" in package.media_license.name) %} -
- Make sure to check the specific license used here -
- {% endif %}
Name