{#
 # 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 = attribute(item, column.Field) %}
{% else %}
    {% set value = '' %}
{% endif %}

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