{#
 # Display Item Column
 #
 # Parameters:
 #   admin_list: AdminList object
 #   column:     ColumnConfiguration object
 #   route:      Route to use, else current route is used
 #   ordering:   Current ordering
 #   item:       Item
 #
 #}

{% if column.Field is not empty %}
    {% set value = column.getFieldValue(item) %}
    {% if column.translationDomain is not empty %}
        {% set value = value|trans([], column.translationDomain) %}
    {% endif %}
{% else %}
    {% set value = '' %}
{% endif %}

<td class="{{column.ItemClass}}">
    {% block container %}
    {{value}}
    {% endblock container %}
</td>
