diff options
author | Belen Barros Pena <belen.barros.pena@intel.com> | 2014-03-13 02:51:18 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-03-21 14:47:41 +0000 |
commit | ed958d288de92faf8bd17a067c7a7f719dacd27d (patch) | |
tree | 8d65dffba33e89a93c3d2bf652ba2e85acff63e1 /lib | |
parent | 4e382ac6b5c1da497caa1ece3fcdc404dd02c058 (diff) | |
download | bitbake-ed958d288de92faf8bd17a067c7a7f719dacd27d.tar.gz |
toaster: Remove trailing spaces from 'name'
Those extra spaces were showing in the heading of the
filter modal dialogs.
Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/toaster/toastergui/views.py | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/toaster/toastergui/views.py b/lib/toaster/toastergui/views.py index ddeb992ff..7f75425af 100644 --- a/lib/toaster/toastergui/views.py +++ b/lib/toaster/toastergui/views.py @@ -240,7 +240,7 @@ def builds(request): 'total_count' : queryset_with_search.count(), # Specifies the display of columns for the table, appearance in "Edit columns" box, toggling default show/hide, and specifying filters for columns 'tablecols' : [ - {'name': 'Outcome ', # column with a single filter + {'name': 'Outcome', # column with a single filter 'qhelp' : "The outcome tells you if a build completed successfully or failed", # the help button content 'dclass' : "span2", # indication about column width; comes from the design 'orderfield': _get_toggle_order(request, "outcome"), # adds ordering by the field value; default ascending unless clicked from ascending into descending @@ -256,18 +256,18 @@ def builds(request): ] } }, - {'name': 'Target ', # default column, disabled box, with just the name in the list + {'name': 'Target', # default column, disabled box, with just the name in the list 'qhelp': "This is the build target(s): one or more recipes or image recipes", 'orderfield': _get_toggle_order(request, "target__target"), 'ordericon':_get_toggle_order_icon(request, "target__target"), }, - {'name': 'Machine ', + {'name': 'Machine', 'qhelp': "The machine is the hardware for which you are building", 'orderfield': _get_toggle_order(request, "machine"), 'ordericon':_get_toggle_order_icon(request, "machine"), 'dclass': 'span3' }, # a slightly wider column - {'name': 'Started on ', 'clclass': 'started_on', 'hidden' : 1, # this is an unchecked box, which hides the column + {'name': 'Started on', 'clclass': 'started_on', 'hidden' : 1, # this is an unchecked box, which hides the column 'qhelp': "The date and time you started the build", 'orderfield': _get_toggle_order(request, "started_on", True), 'ordericon':_get_toggle_order_icon(request, "started_on"), @@ -280,7 +280,7 @@ def builds(request): ] } }, - {'name': 'Completed on ', + {'name': 'Completed on', 'qhelp': "The date and time the build finished", 'orderfield': _get_toggle_order(request, "completed_on", True), 'ordericon':_get_toggle_order_icon(request, "completed_on"), @@ -293,7 +293,7 @@ def builds(request): ] } }, - {'name': 'Failed tasks ', 'clclass': 'failed_tasks', # specifing a clclass will enable the checkbox + {'name': 'Failed tasks', 'clclass': 'failed_tasks', # specifing a clclass will enable the checkbox 'qhelp': "How many tasks failed during the build", 'filter' : {'class' : 'failed_tasks', 'label': 'Show:', @@ -303,7 +303,7 @@ def builds(request): ] } }, - {'name': 'Errors ', 'clclass': 'errors_no', + {'name': 'Errors', 'clclass': 'errors_no', 'qhelp': "How many errors were encountered during the build (if any)", 'orderfield': _get_toggle_order(request, "errors_no", True), 'ordericon':_get_toggle_order_icon(request, "errors_no"), @@ -327,7 +327,7 @@ def builds(request): ] } }, - {'name': 'Time ', 'clclass': 'time', 'hidden' : 1, + {'name': 'Time', 'clclass': 'time', 'hidden' : 1, 'qhelp': "How long it took the build to finish", 'orderfield': _get_toggle_order(request, "timespent", True), 'ordericon':_get_toggle_order_icon(request, "timespent"), |