Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
mclmax committed Oct 31, 2024
1 parent 55aa2b0 commit c65bbc5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 10 deletions.
11 changes: 5 additions & 6 deletions templates/emails/notification.html
Original file line number Diff line number Diff line change
Expand Up @@ -821,14 +821,13 @@
<tr style="color:#818a8e;font-size:16px;text-align:left;font-weight:600">
<td style="padding: 0px 10px; width:40px; font-weight:400; vertical-align: middle;" rowspan="2">
<img align="center" src="https://{{ BasicDetails['public_domain'] }}/resources/notification-email/transaction.png" width="40px">
</td> {% if BasicDetails['additional_info']['merchant'] %} <td style="vertical-align: top;">
<p style="font-weight:600;display:block;line-height:1;margin:0;">Authorizing merchant</p>
</td>
<td style="vertical-align: top;"> {% if BasicDetails['additional_info']['merchant'] %} <p style="font-weight:600;display:block;line-height:1;margin:0;">Authorizing merchant</p>
<p style="font-weight:400;color:#060606;margin:0 0 16px 0;">
<a href style="text-decoration:none !important; color:#060606">{{BasicDetails['additional_info']['merchant'] | e}}</a>
</p>
</td> {% endif %} <td style="vertical-align: top;"> {% if BasicDetails['additional_info']['transaction_amount'] %} <p style="font-weight:600;display:block;line-height:1;margin:0;">Transaction amount</p>
<p style="font-weight:400;color:#060606;margin:0;">{{BasicDetails['additional_info']['transaction_amount']}} {{BasicDetails['additional_info']['transaction_currency']}}</p>
</td> {% endif %}
</p> {% endif %} {% if BasicDetails['additional_info']['transaction_amount'] %} <p style="font-weight:600;display:block;line-height:1;margin:0;">Transaction amount</p>
<p style="font-weight:400;color:#060606;margin:0;">{{BasicDetails['additional_info']['transaction_amount']}} {{BasicDetails['additional_info']['transaction_currency']}}</p> {% endif %}
</td>
</tr>
</table>
</td>
Expand Down
6 changes: 2 additions & 4 deletions templates/emails/notification.mjml
Original file line number Diff line number Diff line change
Expand Up @@ -350,20 +350,18 @@
<td style="padding: 0px 10px; width:40px; font-weight:400; vertical-align: middle;" rowspan="2">
<img align="center" src="https://{{ BasicDetails['public_domain'] }}/resources/notification-email/transaction.png" width="40px" />
</td>
{% if BasicDetails['additional_info']['merchant'] %}
<td style="vertical-align: top;">
{% if BasicDetails['additional_info']['merchant'] %}
<p style="font-weight:600;display:block;line-height:1;margin:0;">Authorizing merchant</p>
<p style="font-weight:400;color:#060606;margin:0 0 16px 0;">
<a href="" style="text-decoration:none !important; color:#060606">{{BasicDetails['additional_info']['merchant'] | e}}</a>
</p>
</td>
{% endif %}
<td style="vertical-align: top;">
{% if BasicDetails['additional_info']['transaction_amount'] %}
<p style="font-weight:600;display:block;line-height:1;margin:0;">Transaction amount</p>
<p style="font-weight:400;color:#060606;margin:0;">{{BasicDetails['additional_info']['transaction_amount']}} {{BasicDetails['additional_info']['transaction_currency']}}</p>
</td>
{% endif %}
</td>
</tr>

</mj-table>
Expand Down

0 comments on commit c65bbc5

Please sign in to comment.