Added support for max_age.
[zzz-spline-frontpage.git] / splinext / frontpage / templates / front_page / git.mako
1 <%page args="update" />
2
3 <div class="frontpage-update">
4     <div class="header">
5         <div class="category"><img src="${h.static_uri('spline', "icons/{0}.png".format('gear--pencil'))}" alt=""> ${update.category}:</div>
6         <div class="date">${update.time}</div>
7         <div class="title">${update.tag}</div>
8     </div>
9     <div class="content">
10         <table class="frontpage-repository striped-rows">
11             <% last_repo = None %>\
12             % for commit in update.log:
13             % if commit.repo != last_repo:
14             <tr class="frontpage-repository-header">
15                 <th colspan="4">${commit.repo}</th>
16             </tr>
17             % endif
18
19             <tr>
20                 <td class="hash"><a href="${update.gitweb}?p=${commit.repo}.git;a=commit;h=${commit.hash}">${commit.hash}</a></td>
21                 <td class="author">${commit.author}</td>
22                 <td class="subject">${commit.subject}</td>
23                 <td class="time">${commit.time}</td>
24             </tr>
25             <% last_repo = commit.repo %>\
26             % endfor
27         </table>
28     </div>
29 </div>