projects
/
iron-blogger
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
modify participants page to list the punted separately
[iron-blogger]
/
templates
/
week.tmpl
diff --git
a/templates/week.tmpl
b/templates/week.tmpl
index 57a88c01c066449302777f67fde74966f5710534..4df9ca6756bf7b330418483fb017d5d5bb3219ad 100644
(file)
--- a/
templates/week.tmpl
+++ b/
templates/week.tmpl
@@
-20,6
+20,15
@@
Results for week beginning ${week_start.strftime("%F")}
% endfor
</ul>
% endfor
</ul>
+% if punt:
+<h2>People punted for excessive outstanding balances:</h2>
+<ul>
+% for u in sorted(punt):
+<li class="user">${u}</li>
+% endfor
+</ul>
+% endif
+
% if skip:
<h2>People who have not yet started</h2>
<ul>
% if skip:
<h2>People who have not yet started</h2>
<ul>
@@
-31,9
+40,9
@@
Results for week beginning ${week_start.strftime("%F")}
<h2>Beer pool:</h2>
<table>
<h2>Beer pool:</h2>
<table>
- <tr> <td> This week: </td> <td> $${5 * len(lame)}
.00
</td> </tr>
- <tr> <td> Total: </td> <td> $${pool}
.00
</td> </tr>
- <tr> <td> Paid: </td> <td> $${paid}
.00
</td> </tr>
+ <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>
</table>
<h2>Debts:</h2>
</table>
<h2>Debts:</h2>
@@
-53,3
+62,10
@@
Results for week beginning ${week_start.strftime("%F")}
</tr>
%endif
</table>
</tr>
%endif
</table>
+
+<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>
\ No newline at end of file
Benjamin Mako Hill
||
Want to submit a patch?