]> projects.mako.cc - iron-blogger/blob - templates/week.tmpl
Small email template update
[iron-blogger] / templates / week.tmpl
1 Results for week beginning ${week_start.strftime("%F")}
2 <h2>People who posted</h2>
3 <ul>
4 % for u in sorted(good, key=lambda u:u.username):
5 <li><b>${u.username}:</b>
6   <ul>
7  % for p in u.weeks[week]:
8    <li><a href="${p['url']}">${p['title'] or "[untitled post]"}</a></li>
9  % endfor
10   </ul>
11 </li>
12 % endfor
13 </ul>
14
15 <h2>People who failed to post</h2>
16 <ul>
17 % for u in sorted(lame, key=lambda u:u.username):
18 <li><b>${u.username}</b></li>
19 % endfor
20 </ul>
21
22 % if skip:
23 <h2>People who have not yet started</h2>
24 <ul>
25 % for u in sorted(skip, key=lambda u:u.username):
26   <li><b>${u.username}</b></li>
27 % endfor
28 </ul>
29 % endif
30
31 <h2>Beer pool:</h2>
32 <table>
33   <tr> <td> This week: </td> <td> $${5 * len(lame)}.00 </td> </tr>
34   <tr> <td> Total: </td> <td> ${pool}.00 </td> </tr>
35 </table>

Benjamin Mako Hill || Want to submit a patch?