Clean up code for sending invitations.

- Move subject lines to translations file.
- Use keyword arguments for invitation function.
This commit is contained in:
dandds
2019-06-05 14:51:16 -04:00
parent bd4f2b3dde
commit aefc86e908
3 changed files with 18 additions and 5 deletions

View File

@@ -65,6 +65,9 @@ components:
The <strong>https://</strong> ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.
</p>
title: Heres how you know
email:
application_invite: "{inviter_name} has invited you to a JEDI cloud application"
portfolio_invite: "{inviter_name} has invited you to a JEDI cloud portfolio"
flash:
application:
deleted: 'You have successfully deleted the {application_name} application. To view the retained activity log, visit the portfolio administration page.'