diff --git a/openedx/core/djangoapps/notifications/templates/notifications/digest_header.html b/openedx/core/djangoapps/notifications/templates/notifications/digest_header.html index 1f0a533aea..9791201b5d 100644 --- a/openedx/core/djangoapps/notifications/templates/notifications/digest_header.html +++ b/openedx/core/djangoapps/notifications/templates/notifications/digest_header.html @@ -38,39 +38,25 @@ {% for update in email_digest_updates %} - {% if forloop.last or forloop.revcounter0 == 1 %} - {% if email_digest_updates|length|add:'1'|divisibleby:3 and not forloop.last%} - - {% elif email_digest_updates|length|add:'2'|divisibleby:3 and forloop.last%} - - {% endif %} - {% endif %} - -

- - - - - - - - - -
- {{update.count}} -
- {{update.title}} -
-

+ + + + + + + + + + +
+ {{update.count}} +
+ {{update.title}} +
{% if forloop.counter|divisibleby:3 %} - - {% endif %} + + {% endif %} {% endfor %}