{% for action in column.primaryActions %}
    <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 %}
