mirror of
https://github.com/minetest/contentdb.git
synced 2024-12-23 14:32:25 +01:00
Allow modpacks with only a single mod
This commit is contained in:
parent
2a82c08d8b
commit
6375cf7ae8
@ -48,10 +48,6 @@
|
|||||||
{% elif package.state == package.state.READY_FOR_REVIEW and ("Other" in package.license.name or "Other" in package.media_license.name) %}
|
{% elif package.state == package.state.READY_FOR_REVIEW and ("Other" in package.license.name or "Other" in package.media_license.name) %}
|
||||||
{% set message = _("Please wait for the license to be added to CDB.") %}
|
{% set message = _("Please wait for the license to be added to CDB.") %}
|
||||||
|
|
||||||
{% elif package.state == package.state.READY_FOR_REVIEW and (package.provides | length) == 1 and package.provides[0].name != package.name %}
|
|
||||||
{% set level = "danger" %}
|
|
||||||
{% set message = _("Mod name does not match package name.") %}
|
|
||||||
|
|
||||||
{% else %}
|
{% else %}
|
||||||
{% set level = "info" %}
|
{% set level = "info" %}
|
||||||
{% set message %}
|
{% set message %}
|
||||||
|
Loading…
Reference in New Issue
Block a user