]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
toaster: fixes for customimage package not found
authorDave Lerner <dave.lerner@windriver.com>
Fri, 8 Apr 2016 08:39:28 +0000 (09:39 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 9 Apr 2016 06:59:43 +0000 (07:59 +0100)
commit66b7c7ef61058b52031d71b10effcfe69afbd57b
treec5d88d1c1ed76d3cd124ddf2294565f443e0d771
parent14ed41a292123374d94f5c786a619881f2ddea42
toaster: fixes for customimage package not found

For a custom image, if a search for a package results in no packages
found, then additional information should be presented to the user.
This is different than a 'no results' found for a search in other
contexts, for example, a search for a package in a non-customised build.
For a custom image, a package search failure can happen because the
package was not added to the custom image. This commit presents more
information to the user, suggesting why the package was not found in the
custom image.
The generic table view handling js changes to handle a new div
element no-results-special-... such that, if present, that template
section is shown rather than the default no-results-... section.

[YOCTO #9154]

Signed-off-by: Dave Lerner <dave.lerner@windriver.com>
Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
lib/toaster/toastergui/static/js/customrecipe.js
lib/toaster/toastergui/static/js/table.js
lib/toaster/toastergui/templates/customrecipe.html