From 20f400b7bdfa492881cff6ce255676c8d4c518ca Mon Sep 17 00:00:00 2001 From: Michael Wood Date: Mon, 7 Dec 2015 18:46:14 +0000 Subject: bitbake: toaster: tables add recipe download link to CustomImagesTable Add the download recipe link and fix the package count field. (Bitbake rev: 85891e5320014f363dba093ac2db681d55375ee3) Signed-off-by: Michael Wood Signed-off-by: brian avery Signed-off-by: Richard Purdie --- bitbake/lib/toaster/toastergui/tables.py | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'bitbake/lib/toaster/toastergui/tables.py') diff --git a/bitbake/lib/toaster/toastergui/tables.py b/bitbake/lib/toaster/toastergui/tables.py index 6c167a9f4d..ecca22037a 100644 --- a/bitbake/lib/toaster/toastergui/tables.py +++ b/bitbake/lib/toaster/toastergui/tables.py @@ -507,14 +507,20 @@ class CustomImagesTable(ToasterTable): static_data_name="name", static_data_template=name_link_template) + recipe_file_template = ''' + {{data.name}}_{{data.version}}.bb + + + ''' + self.add_column(title="Recipe file", - static_data_name='recipe_file', - static_data_template='', - field_name='local_path') + static_data_name='recipe_file_download', + static_data_template=recipe_file_template) approx_packages_template = ''' - {{data.package_set.all|length}} + {{data.get_all_packages.count}} ''' self.add_column(title="Approx packages", -- cgit v1.2.3-54-g00ecf