-
Notifications
You must be signed in to change notification settings - Fork 373
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #143 from mettle/feature/automatic-invitation-acce…
…ptance [Feature] Automatic Invitation Acceptance For Existing Users
- Loading branch information
Showing
3 changed files
with
23 additions
and
21 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
14 changes: 4 additions & 10 deletions
14
resources/views/workspaces/emails/invitation-to-existing-user.blade.php
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,7 @@ | ||
{{__('Hi!')}} | ||
<p>{{__('Hi!')}}</p> | ||
|
||
<br><br> | ||
<p>{{__(':userName has added you to their workspace on SendPortal!', ['userName' => $invitation->workspace->owner->name])}}</p> | ||
|
||
{{__(':userName has invited you to join their workspace on SendPortal!', ['userName' => $invitation->workspace->owner->name])}} | ||
<p>{{__('Since you already have an account, you have automatically been added to the workspace.')}}</p> | ||
|
||
<br><br> | ||
|
||
{{__('Since you already have an account, you may accept the invitation from your account settings screen.')}} | ||
|
||
<br><br> | ||
|
||
{{__('See you soon!')}} | ||
<p>{{__('See you soon!')}}</p> |
20 changes: 9 additions & 11 deletions
20
resources/views/workspaces/emails/invitation-to-new-user.blade.php
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,14 +1,12 @@ | ||
{{__('Hi!')}} | ||
<p>{{__('Hi!')}}</p> | ||
|
||
<br><br> | ||
<p> | ||
{{__(':userName has invited you to join their workspace on SendPortal!', ['userName' => $invitation->workspace->owner->name])}} | ||
{{__('If you do not already have an account, you may click the following link to get started:')}} | ||
</p> | ||
|
||
{{__(':userName has invited you to join their workspace on SendPortal!', ['userName' => $invitation->workspace->owner->name])}} | ||
{{__('If you do not already have an account, you may click the following link to get started:')}} | ||
<p> | ||
<a href="{{ url('register?invitation='.$invitation->token) }}">{{ url('register?invitation='.$invitation->token) }}</a> | ||
</p> | ||
|
||
<br><br> | ||
|
||
<a href="{{ url('register?invitation='.$invitation->token) }}">{{ url('register?invitation='.$invitation->token) }}</a> | ||
|
||
<br><br> | ||
|
||
{{__('See you soon!')}} | ||
<p>{{__('See you soon!')}}</p> |