~mabac/launchpad-work-items-tracker/add-progress-bars-to-lane

« back to all changes in this revision

Viewing changes to templates/roadmap_card.html

  • Committer: Mattias Backman
  • Date: 2011-10-31 16:09:56 UTC
  • mfrom: (303.2.2 count-blueprints)
  • Revision ID: mattias.backman@linaro.org-20111031160956-4p5mzb6rz1l792ps
List and count linked blueprints per high level status.

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
</ul>
25
25
 
26
26
<p>
27
 
% if blueprints == []:
28
 
There are no blueprints registered to implement this requirement.
 
27
% for status in blueprints.keys():
 
28
% if blueprints[status] == []:
 
29
<p><i>There are no ${status} blueprints linked to this card.</i>
29
30
% else:
 
31
<h3>${status}</h3>
30
32
<table>
31
33
<thead>
32
34
    <tr><th>Title</th>
37
39
    <th>Health check</th>
38
40
    </tr>
39
41
</thead>
40
 
% for bp in blueprints:
 
42
% for bp in blueprints[status]:
41
43
    <tr><td><a href="${bp.url}">${bp.name}</a></td>
42
44
    <td>${bp.assignee_name}</td>
43
45
    <td>${bp.priority}</td>
48
50
% endfor
49
51
</table>
50
52
% endif
 
53
% endfor
 
54
 
51
55
<h3>Health check</h3>
52
56
<table>
53
57
    <tr><td>Has Description</td>