Jump to content

[RESOLU] Bug mail GitHub pour Mot de passe oublié en version anglaise


Recommended Posts

Normalement le fichier twig contient ceci

{% extends '@MailThemes/classic/components/layout.html.twig' %}

{% block content %}
<tr>
  <td align="center" class="titleblock">
    <font size="2" face="{{ languageDefaultFont }}Open-sans, sans-serif" color="#555454">
      <span class="title">{{ 'Hi {firstname} {lastname},'|trans({}, 'Emails.Body', locale) }}</span>
    </font>
  </td>
</tr>
<tr>
  <td class="space_footer">&nbsp;</td>
</tr>
<tr>
  <td class="box" style="border:1px solid #D6D4D4;">
    <table class="table">
      <tr>
        <td width="10">&nbsp;</td>
        <td>
          <font size="2" face="{{ languageDefaultFont }}Open-sans, sans-serif" color="#555454">
            {% if templateType == 'html' %}

              <p style="border-bottom:1px solid #D6D4D4;">
                {{ 'Password reset request for {shop_name}'|trans({}, 'Emails.Body', locale) }}
              </p>
            
{% endif %}
            <span>
              {{ 'You have requested to reset your [1]{shop_name}[/1] login details.'|trans({'[1]': '<span><strong>', '[/1]': '</strong></span>'}, 'Emails.Body', locale)|raw }}<br/><br/>
              {{ 'Please note that this will change your current password.'|trans({}, 'Emails.Body', locale)|raw }}<br/><br/>
              {{ 'To confirm this action, please use the following link:'|trans({}, 'Emails.Body', locale)|raw }} <br/> <a href="{url}">{url}</a>
            </span>
          </font>
        </td>
        <td width="10">&nbsp;</td>
      </tr>
    </table>
  </td>
</tr>
{% endblock %}

 

Link to comment
Share on other sites

  • Advisuel changed the title to [RESOLU] Bug mail GitHub pour Mot de passe oublié en version anglaise

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...