diff options
author | Belen Barros Pena <belen.barros.pena@intel.com> | 2014-02-19 10:35:27 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-03-09 12:24:00 -0700 |
commit | 48a93d6452bda1fea3bd6adf7a19575cb5960afa (patch) | |
tree | c2bf8e49f543e568ba793cf3f4c7186bf6fde4d6 /bitbake | |
parent | 5a5e7c0a687becdceac59682e9c7f356ad94b46e (diff) | |
download | poky-48a93d6452bda1fea3bd6adf7a19575cb5960afa.tar.gz |
bitbake: toaster: Sort packages and dependencies in recipe.html
The tables in the Packages, Build dependencies and
Reverse build dependencies tabs in the recipe details
pages (template recipe.html) should be sorted by package
name and recipe name respectively.
This change adds the sorting.
(Bitbake rev: ff6c448c7b5bc7bf4fe75e15e66c4e02f07f7618)
Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/toaster/toastergui/templates/recipe.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/recipe.html b/bitbake/lib/toaster/toastergui/templates/recipe.html index d2d6bc1773..29c9728272 100644 --- a/bitbake/lib/toaster/toastergui/templates/recipe.html +++ b/bitbake/lib/toaster/toastergui/templates/recipe.html | |||
@@ -154,7 +154,7 @@ | |||
154 | </thead> | 154 | </thead> |
155 | <tbody> | 155 | <tbody> |
156 | 156 | ||
157 | {% for package in packages %} | 157 | {% for package in packages|dictsort:"name" %} |
158 | 158 | ||
159 | <tr> | 159 | <tr> |
160 | <td><a href="{% url "package_built_detail" build.pk package.pk %}">{{package.name}}</a></td> | 160 | <td><a href="{% url "package_built_detail" build.pk package.pk %}">{{package.name}}</a></td> |
@@ -188,7 +188,7 @@ | |||
188 | </thead> | 188 | </thead> |
189 | <tbody> | 189 | <tbody> |
190 | 190 | ||
191 | {% for rr in object.r_dependencies_recipe.all %} | 191 | {% for rr in object.r_dependencies_recipe.all|dictsort:"depends_on.name" %} |
192 | <tr> | 192 | <tr> |
193 | <td><a href="{% url "recipe" build.pk rr.depends_on.pk %}">{{rr.depends_on.name}}</a></td> | 193 | <td><a href="{% url "recipe" build.pk rr.depends_on.pk %}">{{rr.depends_on.name}}</a></td> |
194 | <td><a href="{% url "recipe" build.pk rr.depends_on.pk %}">{{rr.depends_on.version}}</a></td> | 194 | <td><a href="{% url "recipe" build.pk rr.depends_on.pk %}">{{rr.depends_on.version}}</a></td> |
@@ -220,7 +220,7 @@ | |||
220 | </thead> | 220 | </thead> |
221 | <tbody> | 221 | <tbody> |
222 | 222 | ||
223 | {% for rr in object.r_dependencies_depends.all %} | 223 | {% for rr in object.r_dependencies_depends.all|dictsort:"recipe.name" %} |
224 | <tr> | 224 | <tr> |
225 | <td><a href="{% url "recipe" build.pk rr.recipe.pk %}">{{rr.recipe.name}}</a></td> | 225 | <td><a href="{% url "recipe" build.pk rr.recipe.pk %}">{{rr.recipe.name}}</a></td> |
226 | <td><a href="{% url "recipe" build.pk rr.recipe.pk %}">{{rr.recipe.version}}</a></td> | 226 | <td><a href="{% url "recipe" build.pk rr.recipe.pk %}">{{rr.recipe.version}}</a></td> |