{% set query=package.name %} {% extends "base.html" %} {% block title %} {{ package.title }} {% endblock %} {% block headextra %} {% if package.getMainScreenshotURL() %} {% endif %} {% endblock %} {% block container %} {% if not package.license.is_foss and not package.media_license.is_foss and package.type != package.type.TXP %} {% set package_warning="Non-free code and media" %} {% elif not package.license.is_foss and package.type != package.type.TXP %} {% set package_warning="Non-free code" %} {% elif not package.media_license.is_foss %} {% set package_warning="Non-free media" %} {% endif %} {% set release = package.getDownloadRelease() %}

{{ package.title }}

{{ package.short_desc }}

{% if package_warning %} {{ package_warning }} {% endif %} {% for t in package.tags %} {{ t.title }} {% endfor %}

{{ package.author.display_name }} {{ package.downloads }} {{ threads | length }} {% if package.website %} {{ _("Website") }} {% endif %} {% if package.repo %} {{ _("Source") }} {% endif %} {% if package.forums %} {{ _("Forums") }} {% endif %} {% if package.issueTracker %} {{ _("Issue Tracker") }} {% endif %}
{% if release and (release.min_rel or release.max_rel) %}
{% if release.min_rel and release.max_rel %} {{ _("%(min)s - %(max)s", min=release.min_rel.name, max=release.max_rel.name) }} {% elif release.min_rel %} {{ _("%(min)s and above", min=release.min_rel.name) }} {% elif release.max_rel %} {{ _("%(max)s and below", max=release.max_rel.name) }} {% endif %}
{% endif %}
{% if release %} {{ _("Download") }} {% else %} {{ _("No downloads available") }} {% endif %}
{% if not package.approved %}
{% if package.releases.count() == 0 %}

Release Required

{% if package.checkPerm(current_user, "MAKE_RELEASE") %}

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 %} {% 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. {% elif topic_error_lvl == "danger" %} 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.
{% endif %} {% if not package.getDownloadRelease() %} Please wait for the release to be approved. {% elif package.checkPerm(current_user, "APPROVE_NEW") %}
You can now approve this package if you're ready. {% else %} Please wait for the package to be approved. {% endif %} {% endif %}
{% if topic_error %}
{{ topic_error | safe }}
{% endif %} {% if similar_topics %}
Please make sure that this package has the right to the name '{{ package.name }}'. See the Inclusion Policy for more info.
{% endif %} {% if not review_thread and (package.author == current_user or package.checkPerm(current_user, "APPROVE_NEW")) %}
Open Thread Privately ask a question or give feedback
{% endif %} {% endif %} {% if not package.approved and (package.author == current_user or package.checkPerm(current_user, "APPROVE_NEW")) %} {% if review_thread %}

{% if review_thread.private %}🔒{% endif %} {{ review_thread.title }}

{% if review_thread.private %}

This thread is only visible to the package owner and users of Editor rank or above.

{% endif %} {% from "macros/threads.html" import render_thread %} {{ render_thread(review_thread, current_user) }} {% endif %} {% endif %} {{ package.desc | markdown }}

Ratings and Reviews

{% from "macros/reviews.html" import render_reviews, render_review_form, render_review_preview %} {% if current_user.is_authenticated %} {% if has_review %}

{{ _("Edit Review") }}

{% else %} {{ render_review_form(package, current_user) }} {% endif %} {% else %} {{ render_review_preview(package) }} {% endif %} {{ render_reviews(package.reviews, current_user) }} {# {% if current_user.is_authenticated or requests %}

Edit Requests

{% endif %} #} {% if alternatives %}

Related

{% from "macros/packagegridtile.html" import render_pkggrid %} {{ render_pkggrid(alternatives) }} {% endif %} {% if similar_topics %}

Similar Forum Topics

{% endif %}
{% endblock %}