aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrubenwardy <rw@rubenwardy.com>2018-07-28 16:46:46 +0100
committerrubenwardy <rw@rubenwardy.com>2018-07-28 16:46:46 +0100
commit742a327cbbcd0f8cd19de337e51780f8478acbb1 (patch)
treed2bea850a87e20b8e51ac1cae276dd143f6b93ba
parent864e06741278a4542b4fc92d4614dbb2f09d7244 (diff)
downloadcheatdb-742a327cbbcd0f8cd19de337e51780f8478acbb1.tar.xz
Add warning on other license
-rw-r--r--app/templates/packages/view.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/templates/packages/view.html b/app/templates/packages/view.html
index 01cc474..9fdd2e7 100644
--- a/app/templates/packages/view.html
+++ b/app/templates/packages/view.html
@@ -108,6 +108,11 @@
<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>