{%- macro _actionLink(action) %} {{ action.html | safe if action.html else action.text }} {%- if action.visuallyHiddenText -%} {{ action.visuallyHiddenText }} {% endif -%} {% endmacro -%} {# Determine if we need 2 or 3 columns #} {% set anyRowHasActions = false %} {% for row in params.rows %} {% set anyRowHasActions = true if row.actions.items | length else anyRowHasActions %} {% endfor -%}