{% if component.as_pdf %}{% else %} {% for group in component.actions %} {% with actions=component.actions|get_item(group) %} {% if actions %} {% if component.mobile or actions|length > 1 %}
{% if component.mobile %} {% else %} {% endif %}
{% else %} {% with item=actions.0 %} {% if item.icon %}{% endif %} {{ item.label }} {% endwith %} {% endif %} {% else %} {% if component.inline and loop.first %}
{% endif %} {% endif %} {% endwith %} {% endfor %} {% endif %}