diff --git a/app/templates/packages/view.html b/app/templates/packages/view.html index d6cb8ca2..150abee0 100644 --- a/app/templates/packages/view.html +++ b/app/templates/packages/view.html @@ -8,12 +8,20 @@ {% if not package.approved %}
- This package needs to be approved before it can be found. - {% if package.checkPerm(current_user, "APPROVE_NEW") %} -
- - -
+ {% 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 %}