From 9035989abf2658838cea9ef8d9466c607f429493 Mon Sep 17 00:00:00 2001 From: RJevnikar <12701645+rjevnikar@users.noreply.github.com> Date: Tue, 5 Jun 2018 22:03:46 +0000 Subject: [PATCH] Finish adding delete board feature --- client/components/boards/boardHeader.jade | 2 ++ i18n/en.i18n.json | 6 +++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/client/components/boards/boardHeader.jade b/client/components/boards/boardHeader.jade index 6bbf0cd15..b8801ac26 100644 --- a/client/components/boards/boardHeader.jade +++ b/client/components/boards/boardHeader.jade @@ -240,6 +240,8 @@ template(name="archiveBoardPopup") template(name="deleteBoardPopup") p {{_ 'delete-board-pop'}} + unless archived + p {{_ 'board-delete-suggest-archive'}} button.js-confirm.negate.full(type="submit") {{_ 'delete'}} template(name="outgoingWebhooksPopup") diff --git a/i18n/en.i18n.json b/i18n/en.i18n.json index c85fd7f85..d3edc6b2a 100644 --- a/i18n/en.i18n.json +++ b/i18n/en.i18n.json @@ -470,5 +470,9 @@ "editCardReceivedDatePopup-title": "Change received date", "editCardEndDatePopup-title": "Change end date", "assigned-by": "Assigned By", - "requested-by": "Requested By" + "requested-by": "Requested By", + "board-delete-notice": "Deleting is permanent. You will lose all lists, cards and actions associated with this board.", + "board-delete-pop": "All lists, cards, labels, and activities will be removed and you won't be able to recover the board contents. There is no undo.", + "board-delete-suggest-archive": "You can archive a board to remove it from the the active boards and preserve the activity.", + "deleteBoardPopup": "Delete Board?" }