Include more monetary information in reports.
[iron-blogger] / templates / email.txt
1 Subject: IRON BLOGGER results for the week beginning ${week_start.strftime("%F")}
2 To: iron-blogger@mit.edu
3
4 SLACKERS: ${", ".join(sorted([u.username for u in lame]))}
5
6 People who posted:
7 % for u in sorted(good, key=lambda u:u.username):
8  ${u.username}:
9  % for p in u.weeks[week]:
10  - ${p['url']}
11  % endfor
12 % endfor
13
14 % if skip:
15 People who have not yet started:
16 % for u in sorted(skip,  key=lambda u:u.username):
17  ${u.username}
18 % endfor
19 % endif
20
21 Beer pool:
22 This week: $${5 * len(lame)}.00
23 Total:     $${pool}.00
24 Paid:      $${paid}.00
25
26 Individual debts:
27 % for (u, v) in sorted(debts, key=lambda p:p[1], reverse=True):
28 ${"%20s $%d" % (u, v)}
29 % endfor

Benjamin Mako Hill || Want to submit a patch?