{% extends "packages/package_base.html" %} {% block title %} Remove {{ package.title }} {% endblock %} {% block content %}

{{ _("Remove %(title)s", title=package.title) }}

{{ _("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 %}