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