1 {% if task.accepted -%}
2 {%- for group in task.accepted|groupby('task') %}
3 FlexGet has just downloaded {{group.list|length}} new entries for task {{group.grouper}}:
4 {%- for entry in group.list %}
5 - {{entry.location|pathbase}}
6 => {% if entry.folder|d(false) %}{{entry.folder}}/{% endif %}{{entry.filename}}
11 The following entries have failed for task {{task.name}}:
12 {%- for entry in task.failed %}
13 - {{entry.title}} Reason: {{entry.reason|d('unknown')}}