{% if column.Actions|length > 0 %}
    <td class="{{column.ItemClass}}">
        {% set action_cnt = 0 %}
        {% set dropdown_content %}
            {% for action in column.Actions %}

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

                {% if route is not empty %}
                    {% if action.getParameters(item)['#'] is defined %}
                        {% set action_hash = '#' ~ action.getParameters(item)['#'] %}
                    {% endif %}

                    {% if '//' in route %}
                        {% set action_url = route %}
                    {% else %}
                        {% set action_url = path(route, action.getParameters(item)|merge({('#'): null})) ~ action_hash|default('') %}
                    {% endif %}
                    
                    <li>
                        <a
                            href="{{action_url}}"
                            {% for attr, value in action.getExtraAttr(item) %}
                                {{attr}}="{{value}}"
                            {% endfor %}
                        >
                            {{ action.getTitle(item) }}
                        </a>
                    </li>
                    {% set action_cnt = action_cnt + 1 %}
                {% endif %}
            {% endfor %}
        {% endset %}

        {% if action_cnt > 0 %}
            <div class="dropdown">
                <a href="javascript:;" class="text-natural" data-toggle="dropdown"><i class="icon-arrow-down"></i></a>
                <div class="dropdown-wrapper">
                    <ul class="dropdown-menu dropdown-menu-{{ column.dropdownAlign }}">
                        {{ dropdown_content|raw }}
                    </ul>
                </div>
            </div>
        {% endif %}
    </td>
{% endif %}
