{#
Variables
- events
#}
{% if events is not empty and events is iterable %}
{% for event in events %}
{% set typeClass = ('action' == event.eventType and 'no' == event.decisionPath) ? 'danger' : 'success' %}
{% set percentLabel = ('danger' == typeClass) ? 'mautic.report.campaign.no.percent' : 'mautic.report.campaign.yes.percent' %}
{% set percentProp = ('danger' == typeClass) ? 'noPercent' : 'yesPercent' %}
{{ event[percentProp] }}%
{% if event.eventType is defined and 'action' != event.eventType %}
{{ event.noPercent }}%
{% endif %}
{{ event.logCountProcessed }}
{{ event.logCountForPending }}
{{ event.name }}
{% if event.eventType is defined and 'action' != event.eventType %}
{{ event.percent }}%
{% endif %}
{% if event.deleted is defined and event.deleted is not empty %}
{{ 'mautic.campaign.deleted'|trans }}
{% endif %}