{% macro render_banners(package, current_user, topic_error, topic_error_lvl, similar_topics) -%}
You need to create a release before this package can be approved.
A release is a single downloadable version of your {{ package.type.value | lower }}. You need to create releases even if you use a rolling release development cycle, as Minetest needs them to check for updates.
Create Release {% else %} A release is required before this package can be approved. {% endif %} {% endset %} {% elif (package.type == package.type.GAME or package.type == package.type.TXP) and package.screenshots.count() == 0 %} {% set message = "You need to add at least one screenshot." %} {% elif package.getMissingHardDependenciesQuery().count() > 0 %} {% set deps = package.getMissingHardDependencies() | join(", ") %} {% set message = "The following hard dependencies need to be added to ContentDB first: " + deps %} {% elif topic_error_lvl == "danger" %} {% 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." %} {% else %} {% set level = "info" %} {% set message %} {% if package.screenshots.count() == 0 %} You should add at least one screenshot, but this isn't required.