Skip to content
This repository has been archived by the owner on Jun 16, 2022. It is now read-only.

Email Invite custodian with wrong text. #189

Open
fjavierm opened this issue Nov 22, 2017 · 0 comments
Open

Email Invite custodian with wrong text. #189

fjavierm opened this issue Nov 22, 2017 · 0 comments
Labels

Comments

@fjavierm
Copy link
Contributor

fjavierm commented Nov 22, 2017

When the email 'Invite custodian' is sent the recipient can read something like:

Custodian name has created an account for you to manage the

{‘team_id’: 15, ‘created_at’: ‘2017-06-30T15:53:27.207+01:00’, ‘id’: 2, ‘updated_at’: ‘2017-11-20T11:54:36.826+00:00’, ‘key’: ‘country’} register.

Expected result
Register name should be shown.

Actual result
JSON representation of the register is shown.

In addition, we should investigate what happen if the user is invited to more than one register.

  • Can a collection be sent as a parameter for the template?
  • Do we need to build a comma separated list to send as a String?

Updated: Apparently, after talks with Notify team, arrays are accepted.
Updated: Suggested text:
((current_user_full_name)) has created an account for you to manage the below registers: ((registers))

/cc @Maidment64

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants