Skip to content

Commit

Permalink
Merge pull request #318 from alkem-io/develop
Browse files Browse the repository at this point in the history
Release: Richer text for External User Invitation
  • Loading branch information
valentinyanakiev authored May 28, 2024
2 parents 4bf72ac + dbf11b4 commit 0b26342
Showing 1 changed file with 16 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,25 @@ module.exports = () => ({
to: '{{recipient.email}}',
subject: 'Invitation to join {{space.displayName}}',
html: `{% extends "src/templates/_layouts/email-transactional.html" %}
{% block content %}<a href="{{inviter.profile}}">{{inviter.firstName}}</a> has invited you to join <a href="{{space.url}}">{{space.displayName}}</a> on Alkemio.
{% block content %} <p><a href="{{inviter.profile}}">{{inviter.firstName}}</a> has invited you to join <a href="{{space.url}}">{{space.displayName}}</a> on Alkemio.</p><br>
{% if welcomeMessage %}
<br>
<p>
<pre><i>{{welcomeMessage}}</i></pre>
</p>
{% endif %}
<br>
<a class="action-button" href="{{space.url}}">click here to accept or decline</a><br><br>
<a class="action-button" href="{{space.url}}">click here to go to the (Sub)Space</a><br><br>
<strong>How to Get Started:</strong>
<ol>
<li><strong><a style="color:#000000; text-decoration: none;" href="{{space.url}}">🔗 Click the Link:</a></strong> Simply click on the link above to open the (Sub)Space you've been invited to. It will take you directly to the heart of our collaborative platform.</li>
<li><strong>✏️ Create Your Account:</strong> Once there, you'll notice a prominent button inviting you to sign in to applow. Follow the steps to <b>create a new account</b>. Remember, this invitation is tied to the email address it was sent to, so use that same address during registration.</li>
<li><strong>✅ Verify and Accept:</strong> After verifying your account and signing in, you'll land back in the (Sub)Space. Look for the button to accept the invitation. Click it to officially become part of the Space community.</li>
<li><strong>🎉 You're In!</strong> Congratulations! You're now part of <a href="{{space.url}}">{{space.displayName}}</a>. Feel free to explore, connect with fellow members, and contribute to the discussions. If you ever feel lost during the process, don't worry—use the button in this email to return to the (Sub)Space you were invited to.</li>
</ol>
<p>We are looking forward to your valuable contributions!</p>
<p>Warm regards,</p>
<p>The Alkemio Team</p>
<br><br>
{% endblock %}
${templates.footerBlock}`,
},
Expand Down

0 comments on commit 0b26342

Please sign in to comment.