From d9dc4f043734d6aa5c72948f26fa405535a594aa Mon Sep 17 00:00:00 2001 From: Martin_Jordanov Date: Sat, 23 Mar 2019 22:35:37 +0200 Subject: [PATCH] Prompt user on attachment deletion. Fixes #867 --- tcms/templates/attachments/delete_link.html | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/tcms/templates/attachments/delete_link.html b/tcms/templates/attachments/delete_link.html index 2336977ae9..219e546e14 100644 --- a/tcms/templates/attachments/delete_link.html +++ b/tcms/templates/attachments/delete_link.html @@ -1,4 +1,10 @@ {% load i18n %} {% load static %} +{% trans 'Are you sure you want to delete this attachment?' as prompt_message %} + -{% if delete_url %}{% endif %} +{% if delete_url %} + +{% endif %} \ No newline at end of file