Or:

    {{#ifExpired deadline}}{{else}}
         {{daysToGo}} {% trans "days" %}
    {{/ifExpired}}