{% if event.summary.activity %} {% set action_html %} updated their activity to {{ event.summary.activity }} {% endset %} {% else %} {% set action_html %} cleared their activity {% endset %} {% endif %} {% include "events/_wrapper.html" %}