Skip to content

Commit

Permalink
Use skipped_users for skipped tag
Browse files Browse the repository at this point in the history
user.skip is true if the user was has ever been skipped
skipped_users contains all current skipped users
  • Loading branch information
chaosblog committed Feb 11, 2013
1 parent d614751 commit 4f2ec32
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions templates/users.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<th>Twitter</th>
<th>Blog link</th>
<th>Start Week</th>
<th>Skipped Weeks</th>
<th>&nbsp;</th>
</tr>
% for u in sorted(userlist, key=lambda u:u.username):
<tr>
Expand All @@ -28,8 +28,8 @@
% if u.end:
Punted<br>
% endif
% if u.skip:
${u.skip}
% if u in skipped_users:
Skipped
% endif
</td>

Expand Down

0 comments on commit 4f2ec32

Please sign in to comment.