{% extends "base.html" %}
{% block title %}
{{ package.title }}
{% endblock %}
{% block content %}
{% if not package.approved %}
{% if package.releases.count() == 0 %}
You need to create a release before this package can be approved.
{% elif not package.getDownloadRelease() %}
Please wait for the release to be approved.
{% else %}
{% if package.checkPerm(current_user, "APPROVE_NEW") %}
You can now approve this package if you're ready.
{% else %}
This package needs to be approved before it can be found.
{% endif %}
{% endif %}
{% endif %}
{{ package.title }} by {{ package.author.display_name }}
{% for ss in package.screenshots %}
{% endfor %}
{{ package.shortDesc }}
{{ package.desc | markdown }}
Releases
{% for rel in releases %}
{% if rel.approved or package.checkPerm(current_user, "MAKE_RELEASE") or package.checkPerm(current_user, "APPROVE_RELEASE") %}