]> projects.mako.cc - iron-blogger/blobdiff - templates/email.txt
Add cslink
[iron-blogger] / templates / email.txt
index 106141c9012d2a968a9fdd8cb991120da8a1b101..16d7a577633f7465ff2a9ab1ae0370a1a89ff919 100644 (file)
@@ -1,11 +1,10 @@
-Subject: IRON BLOGGER results for the week of ${week_start.strftime("%F")}
+Subject: IRON BLOGGER results for the week beginning ${week_start.strftime("%F")}
 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?