X-Git-Url: https://projects.mako.cc/source/iron-blogger/blobdiff_plain/2fe718b4a2e0303b58195d577b97512e315b3023..82bcc31216207a72ae4ab4d4b986cf13b8036ed0:/templates/week.tmpl diff --git a/templates/week.tmpl b/templates/week.tmpl index 7de8f65..57a88c0 100644 --- a/templates/week.tmpl +++ b/templates/week.tmpl @@ -1,20 +1,22 @@ +Results for week beginning ${week_start.strftime("%F")}

People who posted

- +

People who failed to post

@@ -22,7 +24,7 @@

People who have not yet started

% endif @@ -30,5 +32,24 @@

Beer pool:

- + + +
This week: $${5 * len(lame)}.00
Total: $X.00
Total: $${pool}.00
Paid: $${paid}.00
+ +

Debts:

+<% i = 0 %> + +% for (u, v) in sorted(debts, key=lambda p:p[1], reverse=True): +% if i % 3 == 0: +\ +% endif +<% i += 1 %>\ +\ +% if i % 3 == 0: + +%endif +% endfor +% if i % 3 != 0: + +%endif
${u} $${v}