Package may be outdated
{% if config.trigger == config.trigger.TAG and config.last_tag %}
{{ _("New tag: %(tag)s.", tag=config.last_tag) }}
{% else %}
{{ _("Git repo has commit %(ref)s.", ref=config.last_commit[0:5]) }}
{% endif %}
{{ _("Only visible to the author and Editors.") }}
{% endif %}
{{ _("Required") }}
{% for dep in package.getSortedHardDependencies() %}
{%- if dep.package %}
{% endif %}
{% for rel in releases %}
{% if rel.approved or package.checkPerm(current_user, "MAKE_RELEASE") or package.checkPerm(current_user, "APPROVE_RELEASE") %}
-
{% if package.checkPerm(current_user, "MAKE_RELEASE") or package.checkPerm(current_user, "APPROVE_RELEASE") %}
Edit
{% if not rel.task_id and not rel.approved and package.checkPerm(current_user, "APPROVE_RELEASE") %}
/ Approve
{% endif %}
{% endif %}
{% if not rel.approved %}{% endif %}
{{ rel.title }}
{% if rel.min_rel and rel.max_rel %}
[MT {{ rel.min_rel.name }}-{{ rel.max_rel.name }}]
{% elif rel.min_rel %}
[MT {{ rel.min_rel.name }}+]
{% elif rel.max_rel %}
[MT ≤{{ rel.max_rel.name }}]
{% endif %}
{% if rel.commit_hash %}
[{{ rel.commit_hash | truncate(5, end='') }}]
{% endif %}
created {{ rel.releaseDate | date }}.
{% if (package.checkPerm(current_user, "MAKE_RELEASE") or package.checkPerm(current_user, "APPROVE_RELEASE")) and rel.task_id %}
Importing...
{% elif not rel.approved %}
Waiting for approval.
{% endif %}
{% if not rel.approved %}{% endif %}
{% endif %}
{% else %}
- No releases available.
{% endfor %}
{% from "macros/threads.html" import render_compact_threadlist %}
{{ render_compact_threadlist(threads) }}
{% if package.approved and package.checkPerm(current_user, "CREATE_THREAD") and current_user != package.author and not current_user.rank.atLeast(current_user.rank.EDITOR) %}
Report a problem with this listing
{% endif %}
{% if package.checkPerm(current_user, "ADD_SCREENSHOTS") %}
Edit
{% endif %}
{% for ss in package.screenshots %}
{% if ss.approved or package.checkPerm(current_user, "ADD_SCREENSHOTS") %}
-
{% endif %}
{% else %}
{% if package.checkPerm(current_user, "EDIT_PACKAGE") %}
-
{% endif %}
{% endfor %}
{{ 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 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 %}