From: Nelson Elhage Date: Mon, 24 May 2010 01:08:25 +0000 (-0400) Subject: Improve styling on week.tmpl X-Git-Url: https://projects.mako.cc/source/iron-blogger/commitdiff_plain/82bcc31216207a72ae4ab4d4b986cf13b8036ed0 Improve styling on week.tmpl --- diff --git a/templates/week.tmpl b/templates/week.tmpl index 4ed842f..57a88c0 100644 --- a/templates/week.tmpl +++ b/templates/week.tmpl @@ -1,21 +1,22 @@ Results for week beginning ${week_start.strftime("%F")}

People who posted

- +

People who failed to post

@@ -23,7 +24,7 @@ Results for week beginning ${week_start.strftime("%F")}

People who have not yet started

% endif @@ -36,8 +37,19 @@ Results for week beginning ${week_start.strftime("%F")}

Debts:

- +<% i = 0 %> +
% for (u, v) in sorted(debts, key=lambda p:p[1], reverse=True): - +% if i % 3 == 0: +\ +% endif +<% i += 1 %>\ +\ +% if i % 3 == 0: + +%endif % endfor +% if i % 3 != 0: + +%endif
${u} ${v}
${u} $${v}