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

Benjamin Mako Hill || Want to submit a patch?