{% macro format_caption(record, highlight, searchEngine, includeBusiness) %}
    {% for value in record.get_caption().get_highlight_fields(highlight, null, searchEngine, includeBusiness) %}
        <div class="desc{% if loop.index is odd %}im{% endif %}pair"><b>{{ value.label }}</b> : {{ value.value | thesaurus }}</div>
    {% endfor %}
    {% if app['authentication'].getUser().getPrefs('technical_display') == 'group' %}
        <hr/>
        {% include 'common/technical_datas.html.twig' %}
    {% endif %}
{% endmacro %}
