-
-
Notifications
You must be signed in to change notification settings - Fork 184
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update organization invitation tests and email templates
- Loading branch information
1 parent
af29b03
commit 31ac077
Showing
15 changed files
with
276 additions
and
82 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{% load i18n %} | ||
<p>{% trans "Dear" %} {{ sender_username }},</p> | ||
|
||
<p>{% blocktrans %}{{ recipient }} has declined your request to join {{ organization_name }}’s organization.{% endblocktrans %}</p> | ||
<p>{% blocktrans %}{{ recipient }} has declined your request to join {{ organization_name }} organization.{% endblocktrans %}</p> | ||
<p> | ||
- KoboToolbox | ||
</p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{% load i18n %} | ||
{% trans "Dear" %} {{ sender_username }}, | ||
|
||
{% blocktrans %}{{ recipient }} has declined your request to join {{ organization_name }}’s organization.{% endblocktrans %} | ||
{% blocktrans %}{{ recipient }} has declined your request to join {{ organization_name }} organization.{% endblocktrans %} | ||
|
||
- KoboToolbox |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 7 additions & 2 deletions
9
kobo/apps/organizations/templates/emails/registered_user_invite.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,20 @@ | ||
{% load i18n %} | ||
<p>{% trans "Hello," %}</p> | ||
|
||
<p>{% blocktrans %}{{ sender_name }} ({{ sender_email }}, username: {{ sender_username }}) has invited you (username: {{ recipient_username }}) to join {{ organization_name }} organization.{% endblocktrans %}</p> | ||
<p>{% blocktrans %}{{ sender_name }} ({{ sender_email }}, username: {{ sender_username }}) has invited you (username: {{ recipient_username }}) to join {{ organization_name }} organization as {{recipient_role}}.{% endblocktrans %}</p> | ||
{% if has_multiple_accounts %} | ||
<p>If you already have an account (or have several accounts), please sign in with the correct account.</p> | ||
{% endif %} | ||
|
||
<p>{% trans "What joining the team means for you:" %}</p> | ||
<p>{% trans "What joining the organization means for you:" %}</p> | ||
<ul> | ||
<li>{% trans "You will benefit from higher usage limits and additional features, as well as priority user support." %}</li> | ||
<li>{% blocktrans %}Any projects owned by your account will be transferred to {{ organization_name }} and all admins in that organization will have access to your projects and data. {% endblocktrans %}</li> | ||
<li>{% trans "You will continue to have full management permissions for all projects previously owned by you." %}</li> | ||
</ul> | ||
|
||
<p>{% trans "If you want to transfer any projects to another account or remove a project, please do so before accepting the invitation. This action cannot be undone." %}</p> | ||
|
||
<p>{% blocktrans %}To respond to this invitation, please use the following link: {{ base_url }}/#/projects/home?organization-invite={{ invite_uid }}{% endblocktrans %}</p> | ||
|
||
<p> - KoboToolbox</p> |
9 changes: 7 additions & 2 deletions
9
kobo/apps/organizations/templates/emails/registered_user_invite.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,18 @@ | ||
{% load i18n %} | ||
{% trans "Hello," %} | ||
|
||
{% blocktrans %}{{ sender_name }} ({{ sender_email }}, username: {{ sender_username }}) has invited you (username: {{ recipient_username }}) to join {{ organization_name }} organization.{% endblocktrans %} | ||
{% blocktrans %}{{ sender_name }} ({{ sender_email }}, username: {{ sender_username }}) has invited you (username: {{ recipient_username }}) to join {{ organization_name }} organization as {{recipient_role}}.{% endblocktrans %} | ||
{% if has_multiple_accounts %} | ||
If you already have an account (or have several accounts), please sign in with the correct account. | ||
{% endif %} | ||
|
||
{% trans "What joining the team means for you:" %} | ||
{% trans "What joining the organization means for you:" %} | ||
* {% trans "You will benefit from higher usage limits and additional features, as well as priority user support." %} | ||
* {% blocktrans %}Any projects owned by your account will be transferred to {{ organization_name }} and all admins in that organization will have access to your projects and data. {% endblocktrans %} | ||
* {% trans "You will continue to have full management permissions for all projects previously owned by you." %} | ||
|
||
{% trans "If you want to transfer any projects to another account or remove a project, please do so before accepting the invitation. This action cannot be undone." %} | ||
|
||
{% blocktrans %}To respond to this invitation, please use the following link: {{ base_url }}/#/projects/home?organization-invite={{ invite_uid }}{% endblocktrans %} | ||
|
||
- KoboToolbox |
6 changes: 3 additions & 3 deletions
6
kobo/apps/organizations/templates/emails/unregistered_user_invite.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
kobo/apps/organizations/templates/emails/unregistered_user_invite.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.