Draw a line marking new stuff. #332
[zzz-spline-frontpage.git] / splinext / frontpage / templates / front_page / updates.mako
1 % if c.updates and not c.last_seen_item:
2     <hr class="frontpage-new-stuff">
3 % endif
4 % for update in c.updates:
5     <%include file="${update.source.template}" args="update=update" />
6     % if update == c.last_seen_item:
7     <hr class="frontpage-new-stuff">
8     % endif
9 % endfor
10 % if not c.updates:
11     <p>No updates.</p>
12 % endif
13
14 <p>Sources:</p>
15 <ul class="classic-list">
16     % for source in c.sources:
17     <li><a href="${source.link}"><img src="${h.static_uri('spline', "icons/{0}.png".format(source.icon))}" alt=""> ${source.title}</a></li>
18     % endfor
19 </ul>