@name = user_impersonate
@entityName = Oro\Bundle\UserBundle\Entity\User
@subject = Impersonation
@isSystem = 1
@isEditable = 1

<style>
    @media (max-width: 480pt) {
        .wrapper{
            width: 100% !important;
        }
    }
    a:hover {
        text-decoration: underline;
    }
</style>
<table class="wrapper" style="border-collapse: collapse; width: 480pt; max-width: 100%; box-sizing: border-box">
    <tr>
        <td style="background-color: #ffffff; padding: 4pt">
            <span style="font-family: Arial, Helvetica, sans-serif; font-size: 14pt; line-height: 14pt; color: #444444">Hi, {{ entity|oro_format_name }},</span>
            <div style="height: 10pt; line-height: 10pt">&nbsp;</div>
            <p style="color: #444444; font-size: 10pt; font-family: Arial, Helvetica, sans-serif; font-weight: normal; margin: 5pt 0 5pt 0;">
                Please be aware that you’ve been impersonated in order to get access to the system. If this happened
                without your consent, please contact your system administrator.
            </p>
        </td>
    </tr>
</table>

@name = user_impersonate
@entityName = Oro\Bundle\UserBundle\Entity\User
@subject = Impersonation
@isSystem = 1
@isEditable = 1

<style>
    @media (max-width: 480pt) {
        .wrapper{
            width: 100% !important;
        }
    }
    a:hover {
        text-decoration: underline;
    }
</style>
<table class="wrapper" style="border-collapse: collapse; width: 480pt; max-width: 100%; box-sizing: border-box">
    <tr>
        <td style="background-color: #ffffff; padding: 4pt">
            <span style="font-family: Arial, Helvetica, sans-serif; font-size: 14pt; line-height: 14pt; color: #444444">Hi, {{ entity|oro_format_name }},</span>
            <div style="height: 10pt; line-height: 10pt">&nbsp;</div>
            <p style="color: #444444; font-size: 10pt; font-family: Arial, Helvetica, sans-serif; font-weight: normal; margin: 5pt 0 5pt 0;">
                You have been impersonated. This means another user has accessed the system under your profile&emdash;most likely they are troubleshooting an issue you have reported. However, if it isn’t the case, please contact your system administrator immediately.
            </p>
        </td>
    </tr>
</table>

Access to the application on behalf of the user
BAP-10780: Access to the application on behalf of the user

- update notification email template
