Draw a line marking new stuff. #332
[zzz-spline-frontpage.git] / splinext / frontpage / templates / front_page / updates.mako
index 9a6f584..257f0dd 100644 (file)
@@ -1,8 +1,14 @@
+% if c.updates and not c.last_seen_item:
+    <hr class="frontpage-new-stuff">
+% 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:
+    <hr class="frontpage-new-stuff">
+    % endif
 % endfor
 % if not c.updates:
-<p>No updates.</p>
+    <p>No updates.</p>
 % endif
 
 <p>Sources:</p>