]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
toastergui: changes to the all projects table
authorBelen Barros Pena <belen.barros.pena@intel.com>
Thu, 19 Mar 2015 12:29:55 +0000 (12:29 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 24 Mar 2015 22:54:36 +0000 (22:54 +0000)
commit994b19ef7f633b8d463efa7022f2e17cd483a387
tree4c27ff7f42cb41c06e6cc740f559a83d41fdd600
parentcbf3d652dcbfc1db527eb13cd796fa57d8ff3748
toastergui: changes to the all projects table

The 'Last build' column in the all projects table
was supposed to provide the completion time stamp
of the latest project build. Instead, it is showing
the time stamp of the latest project activity, which
includes:

* when the project was created and
* when the last build started

but not when you make a change to the configuration.

The result is that the column and the sorting are very
misleading. The template is set so that the time stamp
only shows when the project has builds (if 0 builds, no
time stamp is shown). But of course the sorting still
happens according to the value, even if it doesn't
display. The result is that, when you sort by the
'Last build' column, projects with no builds
appear listed between projects with builds, and you
have no idea why.

This patch:

* changes the column label
* its position in the table
* makes sure the time stamp always displays
* and adds help text

to reflect what the data actually means.

It also makes some small changes to other table
headings.

Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
lib/toaster/toastergui/templates/projects.html
lib/toaster/toastergui/views.py