diff options
Diffstat (limited to 'bitbake/lib/toaster/toastergui')
-rw-r--r-- | bitbake/lib/toaster/toastergui/tables.py | 4 | ||||
-rwxr-xr-x | bitbake/lib/toaster/toastergui/views.py | 5 |
2 files changed, 5 insertions, 4 deletions
diff --git a/bitbake/lib/toaster/toastergui/tables.py b/bitbake/lib/toaster/toastergui/tables.py index 227973114c..e9f1fdccb1 100644 --- a/bitbake/lib/toaster/toastergui/tables.py +++ b/bitbake/lib/toaster/toastergui/tables.py | |||
@@ -688,7 +688,9 @@ class ProjectsTable(ToasterTable): | |||
688 | 688 | ||
689 | self.queryset = queryset | 689 | self.queryset = queryset |
690 | 690 | ||
691 | # columns: last activity on (updated) - DEFAULT, project (name), release, machine, number of builds, last build outcome, recipe (name), errors, warnings, image files | 691 | # columns: last activity on (updated) - DEFAULT, project (name), release, |
692 | # machine, number of builds, last build outcome, recipe (name), errors, | ||
693 | # warnings, image files | ||
692 | def setup_columns(self, *args, **kwargs): | 694 | def setup_columns(self, *args, **kwargs): |
693 | name_template = ''' | 695 | name_template = ''' |
694 | {% load project_url_tag %} | 696 | {% load project_url_tag %} |
diff --git a/bitbake/lib/toaster/toastergui/views.py b/bitbake/lib/toaster/toastergui/views.py index 4f7b50f9dc..59e16b27b2 100755 --- a/bitbake/lib/toaster/toastergui/views.py +++ b/bitbake/lib/toaster/toastergui/views.py | |||
@@ -462,7 +462,7 @@ def builddashboard( request, build_id ): | |||
462 | for t in tgts: | 462 | for t in tgts: |
463 | elem = { } | 463 | elem = { } |
464 | elem[ 'target' ] = t | 464 | elem[ 'target' ] = t |
465 | if ( t.is_image ): | 465 | if t.is_image: |
466 | hasImages = True | 466 | hasImages = True |
467 | npkg = 0 | 467 | npkg = 0 |
468 | pkgsz = 0 | 468 | pkgsz = 0 |
@@ -481,8 +481,7 @@ def builddashboard( request, build_id ): | |||
481 | ndx = 0; | 481 | ndx = 0; |
482 | f = i.file_name[ ndx + 1: ] | 482 | f = i.file_name[ ndx + 1: ] |
483 | imageFiles.append({ 'id': i.id, 'path': f, 'size' : i.file_size }) | 483 | imageFiles.append({ 'id': i.id, 'path': f, 'size' : i.file_size }) |
484 | if ( t.is_image and | 484 | if t.is_image and (len(imageFiles) <= 0 or len(t.license_manifest_path) <= 0): |
485 | (( len( imageFiles ) <= 0 ) or ( len( t.license_manifest_path ) <= 0 ))): | ||
486 | targetHasNoImages = True | 485 | targetHasNoImages = True |
487 | elem[ 'imageFiles' ] = imageFiles | 486 | elem[ 'imageFiles' ] = imageFiles |
488 | elem[ 'targetHasNoImages' ] = targetHasNoImages | 487 | elem[ 'targetHasNoImages' ] = targetHasNoImages |