diff --git a/app/templates/emails/notification_digest.html b/app/templates/emails/notification_digest.html index 87d64ac..af5e318 100644 --- a/app/templates/emails/notification_digest.html +++ b/app/templates/emails/notification_digest.html @@ -2,9 +2,9 @@ {% block content %} -{% for type, group in notifications | groupby("package.title") %} +{% for title, group in notifications | select("package") | groupby("package.title") %}

- {{ type or _("Other Notifications") }} + {{ title }}

{% endfor %} +{% for group in notifications | reject("package") %} +

+ {{ _("Other Notifications") }} +

+ + +{% endfor %}

{{ _("View Notifications") }}