projects
/
zzz-spline-frontpage.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Support stuff-other-than-updates.
[zzz-spline-frontpage.git]
/
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
(file)
--- a/
splinext/frontpage/templates/front_page/updates.mako
+++ b/
splinext/frontpage/templates/front_page/updates.mako
@@
-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:
% 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:
% endfor
% if not c.updates:
-<p>No updates.</p>
+
<p>No updates.</p>
% endif
<p>Sources:</p>
% endif
<p>Sources:</p>