{% extends "packages/package_base.html" %} {% block title %} {{ _("Remove %(title)s", title=package.title) }} {% endblock %} {% block content %}

{{ self.title() }}

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

{{ _("As an alternative to removing your package, you may wish to change the maintenance state.") }}

{% for state in states %} {% endfor %}

{{ _("Remove") }}

{{ _("In order to avoid data loss, you cannot permanently delete packages. You can remove them from ContentDB, which will cause them to not be visible to any users. Removed packages may be permanently deleted at a later point. ContentDB staff can restore removed packages, if needed.") }}

{% if package.approved %}

{{ _("Unapproving a package will put it back into Draft, where it can be submitted for approval again.") }}

{% endif %} {% if hard_deps %} {% set hard_deps_links -%} {%- for dep in hard_deps -%} {%- if not loop.first and loop.length > 2 %}, {% endif -%} {%- if loop.last and loop.length > 1 %} {{ _("and") }} {% endif -%} {{ dep.title }} {%- endfor -%} {%- endset %}

{{ _("Removing this package will break the following mods: %(names)s", names=hard_deps_links) }}

{% endif %}
{{ _("Required") }} {{ _("Reason for unapproval / deletion, this is shown in the audit log") }}
{{ _("Cancel") }} {% if package.approved %} {% endif %}
{% endblock %}