aboutsummaryrefslogtreecommitdiff
path: root/app/templates/package_details.html
diff options
context:
space:
mode:
Diffstat (limited to 'app/templates/package_details.html')
-rw-r--r--app/templates/package_details.html9
1 files changed, 7 insertions, 2 deletions
diff --git a/app/templates/package_details.html b/app/templates/package_details.html
index a2db875..ec54f5f 100644
--- a/app/templates/package_details.html
+++ b/app/templates/package_details.html
@@ -58,9 +58,14 @@
created {{ rel.releaseDate }}.
{% if not rel.approved %}
Waiting for approval.
- {% if package.checkPerm(current_user, "APPROVE_RELEASE") %}
- <a href="">Approve</a>
+ {% endif %}
+
+ {% if package.checkPerm(current_user, "MAKE_RELEASE") or package.checkPerm(current_user, "APPROVE_RELEASE") %}
+ <a href="{{ rel.getEditURL() }}">Edit
+ {% if not rel.approved and package.checkPerm(current_user, "APPROVE_RELEASE") %}
+ / Approve
{% endif %}
+ </a>
{% endif %}
{% if not rel.approved %}</i>{% endif %}