{% for property in columns %}
{% if property in infosFields %}
{% set fieldExist = entity.startDate is defined and entity.startDate %}
{% if property == 'startDate' and fieldExist or property == 'infos' and fieldExist %}
{% endif %}
{% set fieldExist = entity.endDate is defined and entity.endDate %}
{% if property == 'endDate' and fieldExist or property == 'infos' and fieldExist %}
{% endif %}
{% set fieldExist = entity.publishedAt is defined and entity.publishedAt %}
{% if property == 'publishedAt' and fieldExist or property == 'infos' and fieldExist %}
{% endif %}
{% set fieldExist = entity.publicationStart is defined and entity.publicationStart %}
{% if property == 'publicationStart' and fieldExist or property == 'infos' and fieldExist %}
{% endif %}
{% set fieldExist = entity.publicationStart is defined and entity.publicationEnd %}
{% if property == 'publicationEnd' and fieldExist or property == 'infos' and fieldExist %}
{% endif %}
{% set fieldExist = entity.createdAt is defined and entity.createdAt %}
{% if property == 'createdAt' and fieldExist or property == 'infos' and fieldExist %}
{% endif %}
{% set fieldExist = entity.createdBy is defined and entity.createdBy %}
{% if property == 'createdBy' and fieldExist or property == 'infos' and fieldExist %}
{{ "Créé par"|trans }} :
{% if entity.createdBy.firstName %}{{ entity.createdBy.firstName }} {% endif %}
{% if entity.createdBy.lastName %}{{ entity.createdBy.lastName }} {% endif %}
{% if entity.createdBy.login and entity.createdBy.login != 'webmaster' %}({{ entity.createdBy.login }}){% endif %}
{% endif %}
{% set fieldExist = entity.updatedAt is defined and entity.updatedAt %}
{% if property == 'updatedAt' and fieldExist or property == 'infos' and fieldExist %}
{% endif %}
{% set fieldExist = entity.updatedBy is defined and entity.updatedBy %}
{% if property == 'updatedBy' and fieldExist or property == 'infos' and fieldExist %}
{{ "Modifié par"|trans }} :
{% if entity.updatedBy.firstName %}{{ entity.updatedBy.firstName }} {% endif %}
{% if entity.updatedBy.lastName %}{{ entity.updatedBy.lastName }} {% endif %}
{% if entity.updatedBy.login and entity.updatedBy.login != 'webmaster' %}({{ entity.updatedBy.login }}){% endif %}
{% endif %}
{% set fieldExist = entity.locale is defined and entity.locale %}
{% if property == 'locale' and fieldExist or property == 'infos' and fieldExist %}
{% endif %}
{% set fieldExist = entity.lastLogin is defined and entity.lastLogin %}
{% if property == 'lastLogin' and fieldExist or property == 'infos' and fieldExist %}