Fix email wrapper condition to display tracker report link correctly

This commit is contained in:
Rafee 2024-02-29 11:23:35 -05:00
Родитель 41052dec7d
Коммит a1839b51ad
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -158,13 +158,13 @@
{% comment %}
Create this as a link if we have a report link to show
{% endcomment %}
{% ftlmsg 'relay-email-trackers-removed' number=num_level_one_email_trackers_removed as num_level_one_email_trackers_removed %}
{% ftlmsg 'relay-email-trackers-removed' number=num_level_one_email_trackers_removed as num_level_one_email_trackers_removed_text %}
{% if num_level_one_email_trackers_removed > 0 and tracker_report_link %}
<a class="container-link" href="{{ tracker_report_link }}" style="color: #FFFFFF;">
{{ num_level_one_email_trackers_removed | convert_fsi_to_span }}
{{ num_level_one_email_trackers_removed_text | convert_fsi_to_span }}
</a>
{% else %}
{{ num_level_one_email_trackers_removed | convert_fsi_to_span }}
{{ num_level_one_email_trackers_removed_text | convert_fsi_to_span }}
{% endif %}
</p>