summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastergui/templates/package_built_dependencies.html
diff options
context:
space:
mode:
authorBelen Barros Pena <belen.barros.pena@intel.com>2014-02-20 01:20:47 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-03-17 13:59:36 +0000
commit1f83c7fca87851a97484b68b25d0c6a88db053af (patch)
treecbc5b197a16e527e16abb9159fee590e2ad8a464 /bitbake/lib/toaster/toastergui/templates/package_built_dependencies.html
parentbe778cdded6b09066be5c5d326852da9a3ae0642 (diff)
downloadpoky-1f83c7fca87851a97484b68b25d0c6a88db053af.tar.gz
bitbake: toaster: Move <tbody> outside for statement
In the package details pages, the <tbody> tags where inside the for statements, which caused multiple <tbody> tags to be generated inside a single table. To make sure only one <tbody> tag exists per table, moving the <tbody> tag outside the for statement. (Bitbake rev: 0c111b24e9f86130bc43c1327a6d12026e92cdf2) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates/package_built_dependencies.html')
-rw-r--r--bitbake/lib/toaster/toastergui/templates/package_built_dependencies.html70
1 files changed, 34 insertions, 36 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/package_built_dependencies.html b/bitbake/lib/toaster/toastergui/templates/package_built_dependencies.html
index c67f60e20b..4932f74c88 100644
--- a/bitbake/lib/toaster/toastergui/templates/package_built_dependencies.html
+++ b/bitbake/lib/toaster/toastergui/templates/package_built_dependencies.html
@@ -35,8 +35,8 @@
35 <th>Size</th> 35 <th>Size</th>
36 </tr> 36 </tr>
37 </thead> 37 </thead>
38 {% for runtime_dep in runtime_deps %} 38 <tbody>
39 <tbody> 39 {% for runtime_dep in runtime_deps %}
40 {% ifequal runtime_dep.version '' %} 40 {% ifequal runtime_dep.version '' %}
41 <tr class="muted"> 41 <tr class="muted">
42 <td>{{runtime_dep.name}}</td> 42 <td>{{runtime_dep.name}}</td>
@@ -55,8 +55,8 @@
55 <td>{{runtime_dep.size|filtered_filesizeformat}}</td> 55 <td>{{runtime_dep.size|filtered_filesizeformat}}</td>
56 </tr> 56 </tr>
57 {% endifequal %} 57 {% endifequal %}
58 </tbody> 58 {% endfor %}
59 {% endfor %} 59 </tbody>
60 </table> 60 </table>
61 {% endifequal %} 61 {% endifequal %}
62 {% ifnotequal other_deps|length 0 %} 62 {% ifnotequal other_deps|length 0 %}
@@ -67,43 +67,41 @@
67 <th>Package</th> 67 <th>Package</th>
68 <th>Version</th> 68 <th>Version</th>
69 <th>Size</th> 69 <th>Size</th>
70
71 <th> 70 <th>
72 <i class="icon-question-sign get-help" title="There are 5 relationship types: recommends, suggests, provides, replaces and conflicts"></i> 71 <i class="icon-question-sign get-help" title="There are 5 relationship types: recommends, suggests, provides, replaces and conflicts"></i>
73 Relationship type 72 Relationship type
74 </th> 73 </th>
75 </tr> 74 </tr>
76 </thead> 75 </thead>
77 76 <tbody>
78 {% for other_dep in other_deps %} 77 {% for other_dep in other_deps %}
79 <tbody> 78 {% ifequal other_dep.version '' %}
80 {% ifequal other_dep.version '' %} 79 <tr class="muted">
81 <tr class="muted"> 80 <td>{{other_dep.name}}</td>
82 <td>{{other_dep.name}}</td> 81 <td>{{other_dep.version}}</td>
83 <td>{{other_dep.version}}</td> 82 <td></td>
84 <td></td> 83 <td>
85 <td> 84 {{other_dep.dep_type_display}}
86 {{other_dep.dep_type_display}} 85 <i class="icon-question-sign get-help hover-help" title="{{other_dep.dep_type_help}}" ></i>
87 <i class="icon-question-sign get-help hover-help" title="{{other_dep.dep_type_help}}" ></i> 86 </td>
88 </td> 87 </tr>
89 </tr> 88 {% else %}
90 {% else %} 89 <tr>
91 <tr> 90 <td>
92 <td> 91 <a href="{% url 'package_built_detail' build.id other_dep.depends_on_id %}">
93 <a href="{% url 'package_built_detail' build.id other_dep.depends_on_id %}"> 92 {{other_dep.name}}
94 {{other_dep.name}} 93 </a>
95 </a> 94 </td>
96 </td> 95 <td>{{other_dep.version}}</td>
97 <td>{{other_dep.version}}</td> 96 <td>{{other_dep.size|filtered_filesizeformat}}</td>
98 <td>{{other_dep.size|filtered_filesizeformat}}</td> 97 <td>
99 <td> 98 {{other_dep.dep_type_display}}
100 {{other_dep.dep_type_display}} 99 <i class="icon-question-sign get-help hover-help" title="{{other_dep.dep_type_help}}" ></i>
101 <i class="icon-question-sign get-help hover-help" title="{{other_dep.dep_type_help}}" ></i> 100 </td>
102 </td> 101 </tr>
103 </tr> 102 {% endifequal %}
104 </tbody> 103 {% endfor %}
105 {% endifequal %} 104 </tbody>
106 {% endfor %}
107 </table> 105 </table>
108 {% endifnotequal %} 106 {% endifnotequal %}
109 </div> <!-- tab-pane --> 107 </div> <!-- tab-pane -->