diff options
author | Belen Barros Pena <belen.barros.pena@intel.com> | 2014-02-20 09:46:22 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-03-17 13:59:36 +0000 |
commit | 2ac438747f7a26ff6a8e90d7b320bcf186023556 (patch) | |
tree | 50f4bdab379fc96692fa02c916c33e2c1d3995d2 /bitbake/lib/toaster/toastergui/templates | |
parent | bb7776a8437f3e5ff304af7f55804d02f79f1a16 (diff) | |
download | ast2050-yocto-poky-2ac438747f7a26ff6a8e90d7b320bcf186023556.zip ast2050-yocto-poky-2ac438747f7a26ff6a8e90d7b320bcf186023556.tar.gz |
bitbake: toaster: Format package size in recipe.html
Package sizes in the recipe details page (recipe.html)
were displaying in bytes. Apply the filtered_filesizeformat
project tag to show the package size in a more human
readable format.
(Bitbake rev: 018db5cf683755a7a41b0ef491e130809e1ff003)
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')
-rw-r--r-- | bitbake/lib/toaster/toastergui/templates/recipe.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/recipe.html b/bitbake/lib/toaster/toastergui/templates/recipe.html index 29c9728..716ddfa 100644 --- a/bitbake/lib/toaster/toastergui/templates/recipe.html +++ b/bitbake/lib/toaster/toastergui/templates/recipe.html @@ -159,7 +159,7 @@ <tr> <td><a href="{% url "package_built_detail" build.pk package.pk %}">{{package.name}}</a></td> <td><a href="{% url "package_built_detail" build.pk package.pk %}">{{package.version}}_{{package.revision}}</a></td> - <td><a href="{% url "package_built_detail" build.pk package.pk %}">{{package.size}}</a></td> + <td><a href="{% url "package_built_detail" build.pk package.pk %}">{{package.size|filtered_filesizeformat}}</a></td> </tr> {% endfor %} |