aboutsummaryrefslogtreecommitdiff
path: root/app/templates
diff options
context:
space:
mode:
Diffstat (limited to 'app/templates')
-rw-r--r--app/templates/package_details.html23
1 files changed, 23 insertions, 0 deletions
diff --git a/app/templates/package_details.html b/app/templates/package_details.html
index 4f0ff6d..6a1ef35 100644
--- a/app/templates/package_details.html
+++ b/app/templates/package_details.html
@@ -43,4 +43,27 @@
<p class="package-short-large">{{ package.shortDesc }}</p>
{{ package.desc | markdown }}
+
+ <h3>Releases</h3>
+
+ <ul>
+ {% for rel in releases %}
+ <li>
+ {% if not rel.approved %}<i>{% endif %}
+
+ <a href="{{ rel.url }}">{{ rel.title }}</a>,
+ created {{ rel.releaseDate }}.
+ {% if not rel.approved %}
+ Waiting for approval.
+ {% if package.checkPerm(current_user, "APPROVE_RELEASE") %}
+ <a href="">Approve</a>
+ {% endif %}
+ {% endif %}
+
+ {% if not rel.approved %}</i>{% endif %}
+ </li>
+ {% else %}
+ <li>No releases available.</li>
+ {% endfor %}
+ </ul>
{% endblock %}