]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
toaster: Show 'not applicable' for default project machine and release
authorElliot Smith <elliot.smith@intel.com>
Wed, 14 Oct 2015 20:29:11 +0000 (13:29 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 16 Oct 2015 13:16:03 +0000 (14:16 +0100)
commitce27b3fd728f0373aa1adc0d47baace264529b45
tree7ff579fb2058a982ed792db77d44845f72acb879
parent1ee1fc5dcdbb26c9f6e04b7719d7196083212d4c
toaster: Show 'not applicable' for default project machine and release

The machine and release for the default project should show as
'not applicable' on the all projects page, as that information
isn't available for command-line builds.

Modify the templates with some conditionals to check for the
default project row, plus some data-* attributes to mark
where that data is to make testing possible.

Add some tests for the all projects page to ensure that
the correct machine/release are still shown for non-default projects,
and 'not applicable' for the default project.

[YOCTO #8231]

Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: brian avery <avery.brian@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
lib/toaster/toastergui/templates/projects.html
lib/toaster/toastergui/tests.py