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> <tr>
<th>Who</th> <th>Who</th>
<th>Twitter</th>
<th>Blog link</th> <th>Blog link</th>
<th>Start Week</th> <th>Start Week</th>
</tr> </tr>
% for u in sorted(userlist, key=lambda u:u.username): % for u in sorted(userlist, key=lambda u:u.username):
<tr> <tr>
<td><tt> ${u.username} </tt></td> <td align="left" valign="top">${u.name}</td>
<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: % if u.links:
% for a in u.links: % for a in u.links:
<a href="${a[1]}">${a[0]}</a> <a href="${a[1]}">${a[0]}</a>
@ -16,7 +18,8 @@
Undecided Undecided
% endif % endif
</td> </td>
<td> ${u.start} </td> <td align="left" valign="top"> ${u.start_de} </td>
</tr> </tr>
% endfor % endfor
</table> </table>