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?ds=inline 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