Covivo/mobicoop

View on GitHub
api/templates/communicationAlt/en/email/notification/user_registered_delegate.html.twig

Summary

Maintainability
Test Coverage
{# CAREFUL : Some client might need to replicate this template #}
{% extends 'communicationAlt/fr/email/notification/base.html.twig' %}
{% block body %}
    <table style="width:480px; font-family:{{api_env('EMAILS_FONT')}}, sans-serif;" cellpadding="0" cellspacing="0" summary="" border="0">
        <tr style="margin-bottom:21px; margin-top:19px;">
            <td align="center">
                <table cellpadding="6" cellspacing="6" summary="" border="0">
                    <tr>
                        <td align="center">
                            <p style="color:{{api_env('EMAILS_COLOR_PRIMARY')}}; font-size:20px;" text-align="center">
                                <b>Your registration is validated !</b>
                            </p>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td align="center">
                <table style="width:100%;" cellpadding="4" cellspacing="4" summary="" border="0">
                    <tr>
                        <td style="width:22px">
                            <p></p>
                        </td>
                        <td align="left">
                            <p style="font-size:11px; margin-bottom:16px;">Hello<b style="color:{{api_env('EMAILS_COLOR_PRIMARY')}}">
                                    {{context.user.givenName|capitalize}}
                                    {{context.user.shortFamilyName|capitalize}}</b>
                            </p>
                            <p style="font-size:11px; text-align:justify">Your
                                <b style="color:{{api_env('EMAILS_COLOR_PRIMARY')}}">
                                    Mobicoop</b>registration has been completed.</p>
                            <p style="font-size:11px;">Please click on this link to confirm your email  :
                                <a style="color:{{api_env('EMAILS_COLOR_PRIMARY')}}; font-weight: bold;" href="{{ api_env('EMAILS_PLATFORM_URL') }}/utilisateur/inscription/validation/{{ context.user.email }}/{{ context.user.emailToken }}" title="">link</a>.</p>
                            <pstyle="font-size:11px;text-align:justify">Or use the validation code directly on the site :
                                {{ context.user.emailToken }}</p>
                            {% if context.user.passwordSendType == 2 %}
                                <p style="font-size:11px; text-align:justify">Your password is :
                                    {{ context.user.clearPassword }}</p>
                            {% elseif context.user.passwordSendType == 1 %}
                                <p style="font-size:11px; text-align:justify">Your password has been sent to you by SMS.</p>
                            {% endif %}
                            <p style="font-size:11px; text-align:justify">When you log in for the first time, after clicking on the verification link above, you will be able to change your password by going to your profile. If you have forgotten your password, you can always retrieve it from the "Login" screen, by clicking on the "Forgotten password" link.</p>
                            <p style="font-size:11px; text-align:justify">To consult
                                <b style="color:{{api_env('EMAILS_COLOR_PRIMARY')}}">
                                    {{api_env('EMAILS_PLATFORM_NAME')}}</b>'s General Terms and Conditions of Use, click
                                <a style="color:{{api_env('EMAILS_COLOR_PRIMARY')}}; font-weight: bold;" href="{{ api_env('EMAILS_PLATFORM_URL') }}/cgu">here</a>. If you do not accept these conditions, you can delete your account from your profile.</p>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td style="height:15px">
                <p></p>
            </td>
        </tr>
        <tr>
            <td>
                <table cellpadding="2" cellspacing="2" summary="" border="0">
                    <tr>
                        <td style="width:23px">
                            <p></p>
                        </td>
                        <td align="center" style="width:100%;">
                            <p style="font-size:11px;">
                                <b style="color:{{api_env('EMAILS_COLOR_SECONDARY')}}">See you soon on Mobicoop</b>
                            </p>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td style="height:15px">
                <p></p>
            </td>
        </tr>
    </table>
{% endblock %}