Add message to removal page about editing packages

This commit is contained in:
rubenwardy 2024-08-26 00:17:14 +01:00
parent bdd9ab6a29
commit bb561104f8

@ -7,6 +7,7 @@
{% block content %} {% block content %}
<h2 class="mt-0">{{ self.title() }}</h2> <h2 class="mt-0">{{ self.title() }}</h2>
{% if package.approved %}
<form method="POST" action=""> <form method="POST" action="">
<h3>{{ _("Change maintenance state") }}</h3> <h3>{{ _("Change maintenance state") }}</h3>
<p> <p>
@ -29,6 +30,7 @@
{% endfor %} {% endfor %}
</p> </p>
</form> </form>
{% endif %}
<form method="POST" action="" class="mt-5"> <form method="POST" action="" class="mt-5">
<h3>{{ _("Remove") }}</h3> <h3>{{ _("Remove") }}</h3>
@ -44,6 +46,11 @@
{{ _("Unapproving a package will put it back into Draft, where {{ _("Unapproving a package will put it back into Draft, where
it can be submitted for approval again.") }} it can be submitted for approval again.") }}
</p> </p>
{% else %}
<p>
<strong>{{ _("You don't need to delete a package just to change something.") }}</strong>
{{ _("Click 'Edit' at the top right of the package page.") }}
</p>
{% endif %} {% endif %}
{% if hard_deps %} {% if hard_deps %}