{% set title = "" %} {% if merchant is defined %} {% set title = merchant.title %} {% endif %} {% if is_dropdown %} {%- if action.icon %} {% endif -%} {{ action.label|trans(arguments = trans_parameters|merge({ '%entity_id%': item_id, '%title%': title }), domain = translation_domain) }} {% else %} {% if action.hub is defined %} {% set trad = action.label~action.hub|uc_first %} {% else %} {% set trad = action.label %} {% endif %} {%- if action.icon %} {% endif -%} {% endif %}