X-Git-Url: http://git.veekun.com/zzz-spline-frontpage.git/blobdiff_plain/0448e379cae2f4089997aea959ef376cec57768a..cd1d8d6aeed2bbb04467074d20e89fd1819994e5:/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..257f0dd 100644 --- a/splinext/frontpage/templates/front_page/updates.mako +++ b/splinext/frontpage/templates/front_page/updates.mako @@ -1,8 +1,14 @@ +% 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: