aboutsummaryrefslogtreecommitdiffstats
path: root/lib/toaster/toastergui/views.py
diff options
context:
space:
mode:
authorDave Lerner <dave.lerner@windriver.com>2014-04-11 17:19:28 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-05-08 16:18:05 +0100
commit436865ac8520c1d75401dde7df373dba9a386c9d (patch)
tree0e46ac0d9887b4f79540a2d31696ed9eaf1bdf35 /lib/toaster/toastergui/views.py
parent72adcadb931519f803dad7488544767241561fb7 (diff)
downloadbitbake-436865ac8520c1d75401dde7df373dba9a386c9d.tar.gz
toaster: fix span2 headings for packages
[YOCTO 6147] Fix bug in views.py that put 'span2' class id in a 'clclass' key instead of the 'dclass' key. This fix exposed another problem in target.html and the target view function that used 'package_size' instead of 'size' as the 'clclass' which is inconsistent with the model field name, causing table data columns to be shown when the header is hidden. Signed-off-by: Dave Lerner <dave.lerner@windriver.com>
Diffstat (limited to 'lib/toaster/toastergui/views.py')
-rw-r--r--lib/toaster/toastergui/views.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/toaster/toastergui/views.py b/lib/toaster/toastergui/views.py
index 3d2ed4c7c..e3b24bace 100644
--- a/lib/toaster/toastergui/views.py
+++ b/lib/toaster/toastergui/views.py
@@ -575,13 +575,15 @@ def target(request, build_id, target_id):
'qhelp':'The size of the package',
'orderfield': _get_toggle_order(request, "size", True),
'ordericon':_get_toggle_order_icon(request, "size"),
- 'clclass': 'package_size span2',
+ 'clclass': 'size',
+ 'dclass' : 'span2',
'hidden' : 0,
},
{
'name':'Size over total (%)',
'qhelp':'Proportion of the overall included package size represented by this package',
- 'clclass': 'size_over_total span2',
+ 'clclass': 'size_over_total',
+ 'dclass' : 'span2',
'hidden' : 1,
},
{
@@ -1273,7 +1275,8 @@ def bpackage(request, build_id):
'qhelp':'The size of the package',
'orderfield': _get_toggle_order(request, "size", True),
'ordericon':_get_toggle_order_icon(request, "size"),
- 'clclass': 'size span2', 'hidden': 0,
+ 'clclass': 'size', 'hidden': 0,
+ 'dclass' : 'span2',
},
{
'name':'License',