]> projects.mako.cc - iron-blogger/blobdiff - templates/email.txt
lexrj's blog link
[iron-blogger] / templates / email.txt
index 741e373cebfcfeb9d17787feb7fd93d68fd5786b..16d7a577633f7465ff2a9ab1ae0370a1a89ff919 100644 (file)
@@ -3,9 +3,8 @@ To: iron-blogger@mit.edu
 
 People who posted:
 % for u in sorted(good):
-<% posts = report[u][week] %>\
- ${u}:
- % for p in posts:
+ ${u.username}:
+ % for p in u.weeks[week]:
  - ${p['url']}
  % endfor
 % endfor
@@ -13,12 +12,12 @@ People who posted:
 People who failed to post:
 <% cash = 0 %>\
 % for u in sorted(lame):
- ${u}
+ ${u.username}
 % endfor
 
 People who have not yet started:
 % for u in sorted(skip):
- ${u}
+ ${u.username}
 % endfor
 
 Beer pool:

Benjamin Mako Hill || Want to submit a patch?