{% set clase = action.cssClass ~ (entity.instance.estado.value == 'Publicado' ? ' Publicado' : (entity.instance.terna ? ' tieneTerna' : ' Borrador')) %}
{% if 'a' == action.htmlElement %}
{%- if action.icon %} {% endif -%}
{%- if action.label is not empty -%}{{ action.label|trans|raw }}{%- endif -%}
{% elseif 'button' == action.htmlElement %}
{% endif %}