2013-03-01 15:21:50 +00:00
|
|
|
<% extends 'base.mako' %>
|
2013-02-28 09:22:47 +00:00
|
|
|
|
2013-03-01 15:21:50 +00:00
|
|
|
<% block body %>
|
2013-12-17 16:15:41 +00:00
|
|
|
% for line in lines_boards:
|
2013-02-27 16:56:00 +00:00
|
|
|
<table width="100%" border="1">
|
2013-02-28 09:22:47 +00:00
|
|
|
<tr>
|
2013-12-17 16:15:41 +00:00
|
|
|
<th colspan="4">${line.goal_definition.name}</th>
|
2013-02-28 09:22:47 +00:00
|
|
|
</tr>
|
2013-02-27 16:56:00 +00:00
|
|
|
<tr>
|
|
|
|
<th>#</th>
|
2013-03-25 15:39:53 +00:00
|
|
|
<th>Person</th>
|
2013-02-27 16:56:00 +00:00
|
|
|
<th>Completeness</th>
|
|
|
|
<th>Current</th>
|
|
|
|
</tr>
|
2013-12-17 16:15:41 +00:00
|
|
|
% for idx, goal in line.board_goals:
|
2013-04-24 10:31:07 +00:00
|
|
|
% if idx < 3 or goal.user_id.id == uid:
|
|
|
|
<tr
|
|
|
|
% if goal.completeness >= 100:
|
|
|
|
style="font-weight:bold;"
|
|
|
|
% endif
|
|
|
|
>
|
|
|
|
<td>${idx+1}</td>
|
|
|
|
<td>${goal.user_id.name}</td>
|
|
|
|
<td>${goal.completeness}%</td>
|
2013-04-24 12:23:34 +00:00
|
|
|
<td>${goal.current}/${goal.target_goal}
|
2013-12-17 16:15:41 +00:00
|
|
|
% if goal.definition_suffix:
|
|
|
|
${goal.definition_suffix}
|
2013-04-24 12:23:34 +00:00
|
|
|
% endif
|
|
|
|
</td>
|
2013-04-24 10:31:07 +00:00
|
|
|
</tr>
|
|
|
|
% endif
|
2013-02-27 16:56:00 +00:00
|
|
|
% endfor
|
|
|
|
</table>
|
2013-02-28 09:22:47 +00:00
|
|
|
|
|
|
|
<br/><br/>
|
|
|
|
|
2013-02-27 16:56:00 +00:00
|
|
|
% endfor
|
2013-03-01 15:21:50 +00:00
|
|
|
<% endblock %>
|