Require screenshots for games and texture packs

This commit is contained in:
rubenwardy 2018-05-27 18:00:23 +01:00
parent 54b7e7c3f7
commit 65fdba5882
No known key found for this signature in database
GPG Key ID: A1E29D52FF81513C
1 changed files with 4 additions and 0 deletions

View File

@ -20,6 +20,10 @@
{% else %}
A release is required before this package can be approved.
{% endif %}
{% elif (package.type == package.type.GAME or package.type == package.type.TXP) and package.screenshots.count() == 0 %}
You need to add at least one screenshot.
{% else %}
{% if package.screenshots.count() == 0 %}
<b>You should add at least one screenshot, but this isn't required.</b><br />