X-Git-Url: http://git.veekun.com/zzz-spline-frontpage.git/blobdiff_plain/16a2995a38feb21c3477a474a752efd9005e6b4f..refs/tags/veekun-promotions/2010122701:/splinext/frontpage/templates/front_page/updates.mako diff --git a/splinext/frontpage/templates/front_page/updates.mako b/splinext/frontpage/templates/front_page/updates.mako index 9a6f584..e0f95da 100644 --- a/splinext/frontpage/templates/front_page/updates.mako +++ b/splinext/frontpage/templates/front_page/updates.mako @@ -1,8 +1,15 @@ +

Updates

+% if c.updates and not c.last_seen_item: +
+% endif % for update in c.updates: -<%include file="${update.source.template}" args="update=update" /> + <%include file="${update.source.template}" args="update=update" /> + % if update == c.last_seen_item: +
+ % endif % endfor % if not c.updates: -

No updates.

+

No updates.

% endif

Sources: