Add link to cancel letters

Added a link to cancel letters from the letter notification pages if the
letter is still able to be cancelled. Clicking on this link will show a
confirmation box, and will then cancel the letter if the user confirms.
This commit is contained in:
Katie Smith
2018-12-05 10:58:27 +00:00
parent 429a23934d
commit 5406efa0cc
6 changed files with 173 additions and 3 deletions

View File

@@ -121,6 +121,7 @@ class HeaderNavigation(Navigation):
'cancel_invited_org_user',
'cancel_invited_user',
'cancel_job',
'cancel_letter',
'check_and_resend_text_code',
'check_and_resend_verification_code',
'check_messages',
@@ -397,6 +398,7 @@ class MainNavigation(Navigation):
'cancel_invited_org_user',
'cancel_invited_user',
'cancel_job',
'cancel_letter',
'check_and_resend_text_code',
'check_and_resend_verification_code',
'check_messages_preview',
@@ -569,6 +571,7 @@ class CaseworkNavigation(Navigation):
'cancel_invited_org_user',
'cancel_invited_user',
'cancel_job',
'cancel_letter',
'check_and_resend_text_code',
'check_and_resend_verification_code',
'check_messages',
@@ -806,6 +809,7 @@ class OrgNavigation(Navigation):
'cancel_invited_org_user',
'cancel_invited_user',
'cancel_job',
'cancel_letter',
'check_and_resend_text_code',
'check_and_resend_verification_code',
'check_messages',