diff --git a/app/blueprints/packages/packages.py b/app/blueprints/packages/packages.py index dbace6d7..c6c20a76 100644 --- a/app/blueprints/packages/packages.py +++ b/app/blueprints/packages/packages.py @@ -117,9 +117,6 @@ def getReleases(package): @is_package_page def view(package): if package.state != PackageState.APPROVED and not package.checkPerm(current_user, Permission.EDIT_PACKAGE): - if package.state == PackageState.WIP: - abort(404) - return render_template("packages/gone.html", package=package), 503 show_similar = not package.approved and ( diff --git a/app/templates/packages/gone.html b/app/templates/packages/gone.html index aa0919a5..690e7a9c 100644 --- a/app/templates/packages/gone.html +++ b/app/templates/packages/gone.html @@ -26,6 +26,11 @@
{{ _("This package is currently undergoing review") }}
+ {% elif package.state.name == "WIP" %} ++ {{ _("This package has been created but hasn't been submitted for approval yet.") }} +
{% else %}