changed layout of usertable

added name support
This commit is contained in:
Marcus "Chaosblog 2012-01-19 19:46:33 +01:00
parent e571361dfa
commit fd626df0ab
1 changed files with 7 additions and 4 deletions

View File

@ -1,13 +1,15 @@
<table id='participants'>
<table id='participants'nowrap>
<tr>
<th>Who</th>
<th>Twitter</th>
<th>Blog link</th>
<th>Start Week</th>
</tr>
% for u in sorted(userlist, key=lambda u:u.username):
<tr>
<td><tt> ${u.username} </tt></td>
<td>
<td align="left" valign="top">${u.name}</td>
<td align="left" valign="top"><a href="https://twitter.com/#!/${u.username}">@${u.username}</a></td>
<td align="left" valign="top">
% if u.links:
% for a in u.links:
<a href="${a[1]}">${a[0]}</a>
@ -16,7 +18,8 @@
Undecided
% endif
</td>
<td> ${u.start} </td>
<td align="left" valign="top"> ${u.start_de} </td>
</tr>
% endfor
</table>