X-Git-Url: https://projects.mako.cc/source/iron-blogger/blobdiff_plain/2fe718b4a2e0303b58195d577b97512e315b3023..4b123d38b4f031e226e03d3780432f92b153e6e1:/templates/week.tmpl
diff --git a/templates/week.tmpl b/templates/week.tmpl
index 7de8f65..4ed842f 100644
--- a/templates/week.tmpl
+++ b/templates/week.tmpl
@@ -1,10 +1,11 @@
+Results for week beginning ${week_start.strftime("%F")}
People who posted
% for u in sorted(good, key=lambda u:u.username):
- ${u.username}:
@@ -30,5 +31,13 @@
Beer pool:
This week: | $${5 * len(lame)}.00 |
- Total: | $X.00 |
+ Total: | $${pool}.00 |
+ Paid: | $${paid}.00 |
+
+
+Debts:
+
+% for (u, v) in sorted(debts, key=lambda p:p[1], reverse=True):
+${u} | ${v} |
+% endfor