From: Benjamin Mako Hill Date: Wed, 8 Aug 2012 17:20:06 +0000 (-0400) Subject: modify participants page to list the punted separately X-Git-Url: https://projects.mako.cc/source/iron-blogger/commitdiff_plain/25c7bd6a204ff132a3ce13eab8e28ec83935d7e1?ds=sidebyside modify participants page to list the punted separately --- diff --git a/templates/users.tmpl b/templates/users.tmpl index 9971306..e111138 100644 --- a/templates/users.tmpl +++ b/templates/users.tmpl @@ -1,10 +1,40 @@ +

Participants in Good Standing

+ + + + + + +% for u in sorted(userlist, key=lambda u:u.username): + <% if u.end: continue %> + + + + + +% endfor +
WhoBlog linkStart Week
${u.username} + % if u.links: + % for a in u.links: + ${a[0]} + % endfor + % else: + Undecided + % endif + ${u.start}
+ +% if any(map(lambda u: u.end, userlist)): +

Former Participants Punted for Lack of Payment

+ + % for u in sorted(userlist, key=lambda u:u.username): + <% if not u.end: continue %> + % endfor
Who Blog link Start WeekEnd Week
${u.username} @@ -17,6 +47,9 @@ % endif ${u.start} ${u.end}
+ +% endif