diff options
author | Michael Wood <michael.g.wood@intel.com> | 2015-11-04 15:17:45 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-02-10 13:29:17 +0000 |
commit | d6e7e4ad43471fdaa1b6184bd13c91069478839e (patch) | |
tree | b20a3016acd99133f29f294059fcea12dfed99f8 /bitbake/lib/toaster/toastergui/views.py | |
parent | 43f0a05fa4da39be3ed84a49a3fba6951110a8fd (diff) | |
download | poky-d6e7e4ad43471fdaa1b6184bd13c91069478839e.tar.gz |
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 <michael.g.wood@intel.com>
Signed-off-by: brian avery <avery.brian@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/toastergui/views.py')
-rwxr-xr-x | bitbake/lib/toaster/toastergui/views.py | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/bitbake/lib/toaster/toastergui/views.py b/bitbake/lib/toaster/toastergui/views.py index b58f916d8c..f6f1a54597 100755 --- a/bitbake/lib/toaster/toastergui/views.py +++ b/bitbake/lib/toaster/toastergui/views.py | |||
@@ -2594,15 +2594,6 @@ if True: | |||
2594 | 2594 | ||
2595 | return(vars_managed,sorted(vars_fstypes),vars_blacklist) | 2595 | return(vars_managed,sorted(vars_fstypes),vars_blacklist) |
2596 | 2596 | ||
2597 | def customrecipe(request, pid, recipe_id): | ||
2598 | project = Project.objects.get(pk=pid) | ||
2599 | context = {'project' : project, | ||
2600 | 'projectlayers': [], | ||
2601 | 'recipe' : CustomImageRecipe.objects.get(pk=recipe_id) | ||
2602 | } | ||
2603 | |||
2604 | return render(request, "customrecipe.html", context) | ||
2605 | |||
2606 | @_template_renderer("projectconf.html") | 2597 | @_template_renderer("projectconf.html") |
2607 | def projectconf(request, pid): | 2598 | def projectconf(request, pid): |
2608 | 2599 | ||