{% if history_obj %} {% if offschedule_datetime %} {% else %} {% endif %} {% endif %}