BetterCMS icon indicating copy to clipboard operation
BetterCMS copied to clipboard

A message needs to be shown when a template cannot be deleted

Open gerbenis opened this issue 10 years ago • 3 comments

If a template is used by other templates, we disable inputs when trying to delete it, but no message is shown, so it's unclear why we can't delete it.

gerbenis avatar Dec 03 '15 13:12 gerbenis

Now, if template is in use, the form will be replaced by a message

gerbenis avatar Dec 11 '15 12:12 gerbenis

Fix available in 2.0.0-preview1+

ghost avatar Dec 22 '15 13:12 ghost

When trying to delete a template that is in use, I get a "Yes/No" dialog about deleting it and it is quickly replaced by a message "This template cannot be deleted, because it is used by some pages or templates." I think it would be best to only show message.

KarolisBab avatar Jan 06 '16 08:01 KarolisBab