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