{% if column.actions %}
    {% if admin_list.params['orderBy']|default(column.field) == column.field and admin_list.params['orderDir']|default('ASC') == 'ASC' %}
        {% for action in column.actions %}
            <td class="{{column.ItemClass}}">

                {% set route = action.getRoute(item) %}

                {% if route is not empty %}

                    {% if action_param['#'] is defined %}
                        {% set action_hash = '#' ~ action_param['#'] %}
                    {% endif %}


                    {% if '//' in route %}
                        {% set action_url = route %}
                    {% else %}
                        {% set action_url = path(route, action.getParameters(item)|merge({('#'): null})) ~ action_hash|default('') %}
                    {% endif %}

                    <a
                        href="{{action_url}}"
                        class="{{ action.getClass(item) }}"
                        {% for attr, value in action.getExtraAttr(item) %}
                            {{attr}}="{{value}}"
                        {% endfor %}
                    >
                        {% if action.getGlyphicon(item) is not empty %}
                            <i title="{{ action.getTitle(item) }}" class="icon-{{ action.getGlyphicon(item) }}"></i>
                        {% else %}
                            {{ action.getTitle(item) }}
                        {% endif %}

                    </a>
                {% endif %}
            </td>
        {% endfor %}

    {% else %}
        {% for action in column.actions %}
            <td></td>
        {% endfor %}
    {% endif %}
{% else %}
    <td></td>
{% endif %}