Support stuff-other-than-updates.
[zzz-spline-frontpage.git] / splinext / frontpage / templates / front_page / updates.mako
index 9a6f584..e0f95da 100644 (file)
@@ -1,8 +1,15 @@
+<h1>Updates</h1>
+% 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>