{% macro dd_event(title, customer, project, activity) %}
{% import "macros/widgets.html.twig" as widgets %}
{% if customer is not null %}
{{ widgets.icon('customer') }}
{% endif %}
{% if project is not null %}
{{ widgets.icon('project') }}
{% endif %}
{% if activity is not null %}
{{ widgets.icon('activity') }}
{% endif %}
{{ title }}
{% endmacro %}