added skipped users list
This commit is contained in:
parent
0afe2dcf31
commit
d925d879a1
|
@ -22,6 +22,13 @@ People who have not yet started:
|
|||
% endfor
|
||||
% endif
|
||||
|
||||
% if skipped_users:
|
||||
People who are currently skipped:
|
||||
% for u in sorted(skipped_users, key=lambda u:u.username):
|
||||
${u.username}
|
||||
% endfor
|
||||
% endif
|
||||
|
||||
Beer pool:
|
||||
This week: € ${5 * len(lame)}
|
||||
Total: € ${pool}
|
||||
|
|
|
@ -12,6 +12,10 @@ People who posted: ${", ".join(sorted([u.username for u in good]))}
|
|||
People who have not yet started: ${", ".join(sorted([u.username for u in skip]))}
|
||||
% endif
|
||||
|
||||
% if skipped_users:
|
||||
People who are currently skipped: ${", ".join(sorted([u.username for u in skipped_users]))}
|
||||
% endif
|
||||
|
||||
Beer pool:
|
||||
This week: € ${5 * len(lame)}
|
||||
Total: € ${pool}
|
||||
|
|
|
@ -50,6 +50,19 @@ Results for week beginning ${week_start.strftime("%F")}
|
|||
</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> \
|
||||
% if u.twitter != False:
|
||||
- <a href="https://twitter.com/#!/${u.username}">@${u.username}</a> \
|
||||
% endif
|
||||
</li>
|
||||
% endfor
|
||||
</ul>
|
||||
% endif
|
||||
|
||||
<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>
|
||||
|
|
Loading…
Reference in a new issue