{% 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 warning in package.content_warnings %} {{ warning.title }} {% endfor %} {% 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 %} {% 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") }}

{% elif current_user in package.maintainers %}

{{ _("You can't review your own package.") }}

{% else %} {{ render_review_preview(package) }} {% 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 %} {% if package.checkPerm(current_user, "EDIT_PACKAGE") %}

Badges

{{ package.makeShield("title") | markdown }}

{{ package.makeShield("title") }}

{{ package.makeShield("downloads") | markdown }}

{{ package.makeShield("downloads") }}

{% endif %}
{% endblock %}