Split off updates to another template. List sources.
[zzz-spline-frontpage.git] / splinext / frontpage / templates / front_page / updates.mako
1 % for update in c.updates:
2 <%include file="${update.source.template}" args="update=update" />
3 % endfor
4 % if not c.updates:
5 <p>No updates.</p>
6 % endif
7
8 <p>Sources:</p>
9 <ul class="classic-list">
10     % for source in c.sources:
11     <li><a href="${source.link}"><img src="${h.static_uri('spline', "icons/{0}.png".format(source.icon))}" alt=""> ${source.title}</a></li>
12     % endfor
13 </ul>