From d6e7e4ad43471fdaa1b6184bd13c91069478839e Mon Sep 17 00:00:00 2001 From: Michael Wood Date: Wed, 4 Nov 2015 15:17:45 +0000 Subject: bitbake: toaster: tables Add table for Packages and update SelectPackagesTable Create a Packages table for use as the image details page. Change the SelectPackagesTable table to inherit from the Packages table. Remove the need for a separate view by adding the additional template context items to the Table's page context. (Bitbake rev: 336b1d8369d9e86ece78b63cb0e140e653216011) Signed-off-by: Michael Wood Signed-off-by: brian avery Signed-off-by: Richard Purdie --- .../templates/snippets/pkg_dependencies_popover.html | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 bitbake/lib/toaster/toastergui/templates/snippets/pkg_dependencies_popover.html (limited to 'bitbake/lib/toaster/toastergui/templates/snippets') diff --git a/bitbake/lib/toaster/toastergui/templates/snippets/pkg_dependencies_popover.html b/bitbake/lib/toaster/toastergui/templates/snippets/pkg_dependencies_popover.html new file mode 100644 index 0000000000..a08409ac7f --- /dev/null +++ b/bitbake/lib/toaster/toastergui/templates/snippets/pkg_dependencies_popover.html @@ -0,0 +1,14 @@ +{# Popover that displays the dependences and sizes of a package 'data' used in the Packages table #} +{% with data.package_dependencies_source.count as dep_count %} +{% load projecttags %} +{% if dep_count %} + + {{dep_count}} + +{% endif %} +{% endwith %} -- cgit v1.2.3-54-g00ecf