diff --git a/app/templates/packages/view.html b/app/templates/packages/view.html index 26bb0eb3..e6a8afc0 100644 --- a/app/templates/packages/view.html +++ b/app/templates/packages/view.html @@ -100,14 +100,14 @@ {{ rel.title }}, created {{ rel.releaseDate }}. {% if rel.task_id %} - Importing + Importing... {% elif not rel.approved %} Waiting for approval. {% endif %} - {% if not rel.task_id and (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.approved and package.checkPerm(current_user, "APPROVE_RELEASE") %} + {% if not rel.task_id and not rel.approved and package.checkPerm(current_user, "APPROVE_RELEASE") %} / Approve {% endif %}