Streamline severity and message of delete modal
Backend User Interface
As an user I would like to know if a record or a file is moved to trash or deleted from database or file system.
Reference behavior:¶Delete a tt_content record:
- modal serverity warning (yellow).
- modal severity danger (red).
- warning → moved to trash
- danger → delete
|case||expected behavior||current behavior||example|
|TCA record with ctrl – delete and deleted = 0||warning||warning||tt_content|
|TCA record with ctrl – delete and deleted = 1||danger||danger||tt_content|
|TCA record without ctrl – delete||danger||warning||sys_domain|
|Record without TCA||danger||warning||scheduler task|
|File with recycler available and not in recycler||warning||warning||file|
|File in recycler||danger||warning||file|
|File without recycler||danger||warning||file|