{% if duration_days == 0 %} {{ formatted_string }} {% elif threshold_days and duration_days and duration_days > threshold_days %} {{ formatted_string }} {% else %} {{ formatted_string }} {% endif %}