2010-02-02 03:07:26 +00:00
|
|
|
Results for week beginning ${week_start.strftime("%F")}
|
2012-01-19 18:48:37 +00:00
|
|
|
<h2>Who posted:</h2>
|
2010-05-24 01:08:25 +00:00
|
|
|
<dl>
|
2009-12-30 05:04:30 +00:00
|
|
|
% for u in sorted(good, key=lambda u:u.username):
|
2012-07-09 20:19:10 +00:00
|
|
|
<dt><span class="user"><strong>${u.name} </strong> \
|
|
|
|
% if u.twitter != False:
|
|
|
|
<a href="https://twitter.com/#!/${u.username}">@${u.username}</a> \
|
|
|
|
% endif
|
|
|
|
:</span></dt>
|
2010-05-24 01:08:25 +00:00
|
|
|
<dd>
|
2009-12-30 05:04:30 +00:00
|
|
|
<ul>
|
|
|
|
% for p in u.weeks[week]:
|
2010-01-26 15:57:32 +00:00
|
|
|
<li><a href="${p['url']}">${p['title'] or "[untitled post]"}</a></li>
|
2009-12-30 05:04:30 +00:00
|
|
|
% endfor
|
|
|
|
</ul>
|
2010-05-24 01:08:25 +00:00
|
|
|
</dd>
|
2009-12-30 05:04:30 +00:00
|
|
|
% endfor
|
2010-05-24 01:08:25 +00:00
|
|
|
</dl>
|
2009-12-30 05:04:30 +00:00
|
|
|
|
2012-01-19 18:48:37 +00:00
|
|
|
<h2>Slackers:</h2>
|
2009-12-30 05:04:30 +00:00
|
|
|
<ul>
|
|
|
|
% for u in sorted(lame, key=lambda u:u.username):
|
2012-07-09 20:19:10 +00:00
|
|
|
<li class="user"><strong>${u.name} </strong> \
|
|
|
|
% if u.twitter != False:
|
|
|
|
<a href="https://twitter.com/#!/${u.username}">@${u.username}</a> \
|
|
|
|
% endif
|
|
|
|
</li>
|
2009-12-30 05:04:30 +00:00
|
|
|
% endfor
|
|
|
|
</ul>
|
|
|
|
|
2010-06-01 00:54:47 +00:00
|
|
|
% if punt:
|
2012-01-19 18:48:37 +00:00
|
|
|
<h2>Who was punted for outstanding balances:</h2>
|
2010-06-01 00:54:47 +00:00
|
|
|
<ul>
|
|
|
|
% for u in sorted(punt):
|
|
|
|
<li class="user">${u}</li>
|
|
|
|
% endfor
|
|
|
|
</ul>
|
|
|
|
% endif
|
|
|
|
|
2009-12-30 05:04:30 +00:00
|
|
|
% if skip:
|
2012-01-19 18:48:37 +00:00
|
|
|
<h2>Who haven't started yet:</h2>
|
2009-12-30 05:04:30 +00:00
|
|
|
<ul>
|
|
|
|
% for u in sorted(skip, key=lambda u:u.username):
|
2012-07-09 20:19:10 +00:00
|
|
|
<li class="user"><strong>${u.name} </strong> \
|
2012-08-13 09:27:39 +00:00
|
|
|
% if u.twitter != False:
|
|
|
|
- <a href="https://twitter.com/#!/${u.username}">@${u.username}</a> \
|
|
|
|
% endif
|
|
|
|
</li>
|
|
|
|
% endfor
|
|
|
|
</ul>
|
|
|
|
% endif
|
|
|
|
|
|
|
|
% if skipped_users:
|
|
|
|
<h2>Who is currently skipped::</h2>
|
|
|
|
<ul>
|
|
|
|
% for u in sorted(skipped_users, key=lambda u:u.username):
|
|
|
|
<li class="user"><strong>${u.name} </strong> \
|
2012-07-09 20:19:10 +00:00
|
|
|
% if u.twitter != False:
|
|
|
|
- <a href="https://twitter.com/#!/${u.username}">@${u.username}</a> \
|
|
|
|
% endif
|
|
|
|
</li>
|
2009-12-30 05:04:30 +00:00
|
|
|
% endfor
|
|
|
|
</ul>
|
|
|
|
% endif
|
|
|
|
|
2012-01-19 18:48:37 +00:00
|
|
|
<h2>Beer fund:</h2>
|
|
|
|
<table style="border-left-style:none; border-right-style:none;">
|
|
|
|
<tr> <td> This week: </td> <td> € ${5 * len(lame)} </td> </tr>
|
|
|
|
<tr> <td> Total: </td> <td> € ${pool} </td> </tr>
|
|
|
|
<tr> <td> Paid: </td> <td> € ${paid} </td> </tr>
|
2012-02-24 13:13:24 +00:00
|
|
|
<tr> <td> Events: </td> <td> € ${event} </td> </tr>
|
2010-05-24 00:33:53 +00:00
|
|
|
</table>
|
|
|
|
|
|
|
|
<h2>Debts:</h2>
|
2010-05-24 01:08:25 +00:00
|
|
|
<% i = 0 %>
|
2012-01-19 18:48:37 +00:00
|
|
|
<table class="debts" style="border-left-style:none; border-right-style:none;">
|
2010-05-24 00:33:53 +00:00
|
|
|
% for (u, v) in sorted(debts, key=lambda p:p[1], reverse=True):
|
2010-05-24 01:08:25 +00:00
|
|
|
% if i % 3 == 0:
|
|
|
|
<tr>\
|
|
|
|
% endif
|
|
|
|
<% i += 1 %>\
|
2012-01-19 18:48:37 +00:00
|
|
|
<td class="user">${u}</td> <td class="money">€ ${v}</td>\
|
2010-05-24 01:08:25 +00:00
|
|
|
% if i % 3 == 0:
|
|
|
|
</tr>
|
|
|
|
%endif
|
2010-05-24 00:33:53 +00:00
|
|
|
% endfor
|
2010-05-24 01:08:25 +00:00
|
|
|
% if i % 3 != 0:
|
|
|
|
</tr>
|
|
|
|
%endif
|
2009-12-30 05:04:30 +00:00
|
|
|
</table>
|
2012-07-09 20:23:02 +00:00
|
|
|
|
|
|
|
<h2>Previously Punted (pay €30 to return):</h2>
|
|
|
|
<ul>
|
|
|
|
% for (u) in sorted(punted, key=lambda p:p.username):
|
|
|
|
<li>${u.username} (${u.end})</li>
|
|
|
|
% endfor
|
|
|
|
</ul>
|