{% extends 'KunstmaanAdminBundle:Default:layout.html.twig' %}

{% block content %}

    <table class="table">

    {% for key, value in fields %}
        <tr>
            <td>
                {{ key }}
            </td>
            <td>
                {% if value.timezone is defined %}
                    {{ value|date() }}
                {% elseif value.id is defined %}
                    OBJECT
                {% else %}
                    {{ value }}
                {% endif %}
            </td>
        </tr>
    {% endfor %}
    </table>
{% endblock %}

{% extends 'KunstmaanAdminBundle:Default:layout.html.twig' %}

{% block content %}

    <table class="table">

    {% for key, value in fields %}
        <tr>
            <td>
                {{ key }}
            </td>
            <td>
                {{ adminlistconfigurator.getStringValue(entity, key) }}
            </td>
        </tr>
    {% endfor %}
    </table>
{% endblock %}

Use getStringValue for adminlist view template
Use getStringValue for adminlist view template
