{% if act.kind == 'dialog' and act.url %} {% elif act.kind == 'inline_form' and act.form_url %} {% elif act.method == 'GET' and act.url and (act.full_page or not act.url.startswith('/web/views/' ~ view.module ~ '/' ~ view.name)) %} {{ act.label }} {% else %} {% endif %}