From: Nelson Elhage Date: Mon, 4 Jan 2010 15:46:12 +0000 (-0500) Subject: email.txt: Only show "not yet started" section if nonempty. X-Git-Url: https://projects.mako.cc/source/iron-blogger/commitdiff_plain/7b11b6f6c718cc62e25c3141fb63ce301be13e98?hp=632f47f017cfd5fa2d72f74b50fdab90f97679a0 email.txt: Only show "not yet started" section if nonempty. --- diff --git a/templates/email.txt b/templates/email.txt index 16d7a57..38a0d4b 100644 --- a/templates/email.txt +++ b/templates/email.txt @@ -15,10 +15,12 @@ People who failed to post: ${u.username} % endfor +% if skip: People who have not yet started: % for u in sorted(skip): ${u.username} % endfor +% endif Beer pool: This week: $${5 * len(lame)}.00