Skip to content

Commit

Permalink
Adding missing tokens for emails
Browse files Browse the repository at this point in the history
  • Loading branch information
escopecz committed Nov 8, 2024
1 parent e7e0057 commit 8051f51
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,17 @@
<td>{{ 'mautic.placeholder_tokens.email.subject'|trans }}</td>
<td><code>{subject}</code></td>
</tr>
<td>{{ 'mautic.placeholder_tokens.email.unsubscribe_text'|trans }}</td>
<td><code>{unsubscribe_text}</code></td>
<tr>
<td>{{ 'mautic.placeholder_tokens.email.unsubscribe_text'|trans }}</td>
<td><code>{unsubscribe_text}</code></td>
</tr>
<tr>
<td>{{ 'mautic.placeholder_tokens.email.unsubscribe_url'|trans }}</td>
<td><code>{unsubscribe_url}</code></td>
</tr>
<tr>
<td>{{ 'mautic.placeholder_tokens.email.resubscribe_url'|trans }}</td>
<td><code>{resubscribe_url}</code></td>
</tr>
<tr>
<td>{{ 'mautic.placeholder_tokens.email.webview_text'|trans }}</td>
Expand Down
4 changes: 3 additions & 1 deletion app/bundles/EmailBundle/Translations/en_US/messages.ini
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ mautic.placeholder_tokens.email_tokens="Email specific tokens"
mautic.placeholder_tokens.email_tokens.explanation="The following tokens are available for use only within the email builder."
mautic.placeholder_tokens.email.signature="Signature"
mautic.placeholder_tokens.email.subject="Subject"
mautic.placeholder_tokens.email.unsubscribe_text="Unsubscribe text"
mautic.placeholder_tokens.email.unsubscribe_text="Unsubscribe text (HTML link)"
mautic.placeholder_tokens.email.unsubscribe_url="Unsubscribe URL"
mautic.placeholder_tokens.email.resubscribe_url="Resubscribe URL"
mautic.placeholder_tokens.email.webview_text="Web view text"
mautic.placeholder_tokens.email.webview_url="Web view URL"
mautic.email.abtest.criteria.clickthrough="Clickthrough rate"
Expand Down

0 comments on commit 8051f51

Please sign in to comment.