diff --git a/templates/week.tmpl b/templates/week.tmpl
index 4ed842f..57a88c0 100644
--- a/templates/week.tmpl
+++ b/templates/week.tmpl
@@ -1,21 +1,22 @@
Results for week beginning ${week_start.strftime("%F")}
People who posted
-
+
% for u in sorted(good, key=lambda u:u.username):
-
- ${u.username}:
+
- ${u.username}:
+-
-
+
% endfor
-
+
People who failed to post
% for u in sorted(lame, key=lambda u:u.username):
-- ${u.username}
+- ${u.username}
% endfor
@@ -23,7 +24,7 @@ Results for week beginning ${week_start.strftime("%F")}
People who have not yet started
% for u in sorted(skip, key=lambda u:u.username):
- - ${u.username}
+ - ${u.username}
% endfor
% endif
@@ -36,8 +37,19 @@ Results for week beginning ${week_start.strftime("%F")}
Debts:
-
+<% i = 0 %>
+
% for (u, v) in sorted(debts, key=lambda p:p[1], reverse=True):
-${u} | ${v} |
+% if i % 3 == 0:
+\
+% endif
+<% i += 1 %>\
+${u} | $${v} | \
+% if i % 3 == 0:
+
+%endif
% endfor
+% if i % 3 != 0:
+
+%endif