X-Git-Url: https://projects.mako.cc/source/iron-blogger/blobdiff_plain/4b123d38b4f031e226e03d3780432f92b153e6e1..ce4d40e444781208a9b74b666d907d5b42288635:/templates/week.tmpl?ds=inline diff --git a/templates/week.tmpl b/templates/week.tmpl index 4ed842f..0672bf4 100644 --- a/templates/week.tmpl +++ b/templates/week.tmpl @@ -1,43 +1,64 @@ 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
Paid: $${paid}.00
This week: $${5 * len(lame)}
Total: $${pool}
Paid: $${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} ${v}
${u} $${v}