X-Git-Url: https://projects.mako.cc/source/iron-blogger/blobdiff_plain/1e83f5c2a466241b2c02b5a5d5c3d3936f5987ea..aa2ed967644a8ae2d4fb77b280a9febd06f01995:/templates/week.tmpl diff --git a/templates/week.tmpl b/templates/week.tmpl index 68f6474..dee7ee4 100644 --- a/templates/week.tmpl +++ b/templates/week.tmpl @@ -1,35 +1,71 @@ Results for week beginning ${week_start.strftime("%F")}

People who posted

- +

People who failed to post

+ +% if punt: +

People punted for excessive outstanding balances:

+ +% endif % if skip:

People who have not yet started

% endif

Beer pool:

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

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} ${currency}${v}
+ +

Previously Punted (pay $30 to return):

+