{% extends "emails/base.txt" %}{% load ichec_email %}{% block content %}{% if items|length > 1 %}You have {{ items|length }} new tasks in {{ step }}{% if owner %}, {{ owner }}{% endif %}. {{ action }}
{% for item in items %}
- {{ item.title }}{% if item.due_at %}, due by {{ item.due_at|date:"DATETIME_FORMAT" }} {{ item.due_at|date:"T" }}{% endif %}
  {{ item.link|portal_url }}{% endfor %}{% else %}You have a new task: {{ step }} for {{ title }}. {{ action }}{% if due_at %}

{% include "emails/notifications/due.txt" %}{% endif %}

Open the task: {{ link|portal_url }}{% endif %}{% endblock %}
