summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastergui/tables.py
diff options
context:
space:
mode:
authorMichael Wood <michael.g.wood@intel.com>2015-09-28 21:45:12 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-09-29 14:11:36 +0100
commit340b3983dbced604d6e9affc7fd5ccfdcc379e61 (patch)
tree36c174d6387e72311d2716e8b99020692b851c11 /bitbake/lib/toaster/toastergui/tables.py
parente1851fe04c812d226b0d612732c0579a2bd83822 (diff)
downloadpoky-340b3983dbced604d6e9affc7fd5ccfdcc379e61.tar.gz
bitbake: toaster: tables Move the title and name into the widget
For historical reasons this was being set in the urls definition. We can set this in the actual definition of the table and defaults in the widget. (Bitbake rev: 2f7949caec3c9194328c35b2e075eaae85409efe) 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/tables.py')
-rw-r--r--bitbake/lib/toaster/toastergui/tables.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/toastergui/tables.py b/bitbake/lib/toaster/toastergui/tables.py
index 92e3b5c667..70e4b6d782 100644
--- a/bitbake/lib/toaster/toastergui/tables.py
+++ b/bitbake/lib/toaster/toastergui/tables.py
@@ -50,6 +50,7 @@ class LayersTable(ToasterTable):
50 def __init__(self, *args, **kwargs): 50 def __init__(self, *args, **kwargs):
51 super(LayersTable, self).__init__(*args, **kwargs) 51 super(LayersTable, self).__init__(*args, **kwargs)
52 self.default_orderby = "layer__name" 52 self.default_orderby = "layer__name"
53 self.title = "Compatible layers"
53 54
54 def get_context_data(self, **kwargs): 55 def get_context_data(self, **kwargs):
55 context = super(LayersTable, self).get_context_data(**kwargs) 56 context = super(LayersTable, self).get_context_data(**kwargs)
@@ -208,6 +209,7 @@ class MachinesTable(ToasterTable, ProjectFiltersMixin):
208 def __init__(self, *args, **kwargs): 209 def __init__(self, *args, **kwargs):
209 super(MachinesTable, self).__init__(*args, **kwargs) 210 super(MachinesTable, self).__init__(*args, **kwargs)
210 self.empty_state = "No machines maybe you need to do a build?" 211 self.empty_state = "No machines maybe you need to do a build?"
212 self.title = "Compatible machines"
211 self.default_orderby = "name" 213 self.default_orderby = "name"
212 214
213 def get_context_data(self, **kwargs): 215 def get_context_data(self, **kwargs):