added philipp to iron blogger list
[iron-blogger] / templates / email.txt
1 ## -*- coding: utf-8 -*-
2 Subject: IRON BLOGGER results for the week beginning ${week_start.strftime("%F")}
3 To: iron-blogger@mako.cc
4
5 SLACKERS: ${", ".join(sorted([u.username for u in lame]))}
6 % if punt:
7 PUNTED for balance ≥${currency}${fine * 6}: ${", ".join(sorted(punt))}
8 % endif
9
10 People who posted:
11 % for u in sorted(good, key=lambda u:u.username):
12  ${u.username}:
13  % for p in u.weeks[week]:
14  - ${p['url']}
15  % endfor
16 % endfor
17
18 % if skip:
19 People who have not yet started:
20 % for u in sorted(skip,  key=lambda u:u.username):
21  ${u.username}
22 % endfor
23 % endif
24
25 Beer pool:
26 This week: ${currency}${fine * len(lame)}.00
27 Total:     ${currency}${pool}
28 Paid:      ${currency}${paid}
29
30 Individual debts:
31 % for (u, v) in sorted(debts, key=lambda p:p[1], reverse=True):
32        ${u} ${currency}${v}
33 % endfor
34 % if punted:
35
36 PREVIOUSLY PUNTED (pay ${currency}${fine * 6} balance to return): 
37 % for (u) in sorted(punted, key=lambda p:p.username):
38 ${"%20s (%s)" % (u.username, u.end)}
39 % endfor
40 % endif

Benjamin Mako Hill || Want to submit a patch?