From 258a23cd9a36631d8794fbf9251fa5f23c975661 Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Wed, 16 Sep 2020 18:05:37 +0100 Subject: Allow all users to delete their packages --- app/templates/packages/remove.html | 36 +++++++++++++++++++++++++++--------- 1 file changed, 27 insertions(+), 9 deletions(-) (limited to 'app/templates/packages/remove.html') diff --git a/app/templates/packages/remove.html b/app/templates/packages/remove.html index fd20637..a588c34 100644 --- a/app/templates/packages/remove.html +++ b/app/templates/packages/remove.html @@ -1,19 +1,37 @@ {% extends "base.html" %} {% block title %} - Delete | {{ package.title }} +Delete | {{ package.title }} {% endblock %} {% block content %} -
-

Remove Package

+ +

Remove {{ package.title }}

-
-

Deleting a package can be undone by the admin, but he'll be very annoyed!

+
+

+ 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 and they may be permanently deleted in the future. + The Admin can restore removed packages, if needed. +

- - + {% if package.approved %} +

+ Unapproving a package will put it back into Work in Progress, where + it can be submitted for approval again. +

+ {% endif %} + + + + Cancel + + + + {% if package.approved %} -
- + {% endif %} +
+ {% endblock %} -- cgit v1.2.3