From 5405ccc0de297481717026396bcffb20af36e1e5 Mon Sep 17 00:00:00 2001
From: Jorran de Wit <jorrandewit@outlook.com>
Date: Tue, 19 Jun 2018 20:16:41 +0200
Subject: [PATCH] Fix query

---
 templates/email/fellows/email_fellow_tasklist.html | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/templates/email/fellows/email_fellow_tasklist.html b/templates/email/fellows/email_fellow_tasklist.html
index f95e17b0e..17f54bbf5 100644
--- a/templates/email/fellows/email_fellow_tasklist.html
+++ b/templates/email/fellows/email_fellow_tasklist.html
@@ -41,10 +41,10 @@
                 <ul>
                   {% for action in assignment.submission.cycle.get_required_actions %}
                       <li>{{action.1}}</li>
+                  {% empty %}
+                      <li>No action required. Great job!</li>
                   {% endfor %}
                 </ul>
-            {% empty %}
-                <li>No action required. Great job!</li>
             {% endif %}
           </li>
       {% endfor %}
-- 
GitLab