From bb561104f82bbcd41df139b7955a0096e8c0f2b4 Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Mon, 26 Aug 2024 00:17:14 +0100 Subject: [PATCH] Add message to removal page about editing packages --- app/templates/packages/remove.html | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/app/templates/packages/remove.html b/app/templates/packages/remove.html index bd8f0a10..7c623257 100644 --- a/app/templates/packages/remove.html +++ b/app/templates/packages/remove.html @@ -7,6 +7,7 @@ {% block content %}

{{ self.title() }}

+ {% if package.approved %}

{{ _("Change maintenance state") }}

@@ -29,6 +30,7 @@ {% endfor %}

+ {% endif %}

{{ _("Remove") }}

@@ -44,6 +46,11 @@ {{ _("Unapproving a package will put it back into Draft, where it can be submitted for approval again.") }}

+ {% else %} +

+ {{ _("You don't need to delete a package just to change something.") }} + {{ _("Click 'Edit' at the top right of the package page.") }} +

{% endif %} {% if hard_deps %}