summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBelen Barros Pena <belen.barros.pena@linux.intel.com>2015-03-22 17:18:31 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-03-25 12:39:55 +0000
commit7c3bdebffe94fb04f5a9119bb70cf90a20971cb7 (patch)
treee0ee8ba87d16ec03233d188a6b827b777d7e6b60
parentfd4085f380d6213e9dff47cf4d97d3009e148928 (diff)
downloadpoky-7c3bdebffe94fb04f5a9119bb70cf90a20971cb7.tar.gz
bitbake: toasterui: hide release when only one exists
If only one release has been set up in Toaster, any project you create defaults to that release, and we simply don't show the release selection menu when creating projects. However, we were still showing the release information in the project page, which would leave users wondering what that release thing is since they never were exposed to it. This patch hides the release information in the project page when only one release has been set up in Toaster. (Bitbake rev: 0bd81be04c88104d7d460f913d0500e5fa9755fe) Signed-off-by: Belen Barros Pena <belen.barros.pena@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--bitbake/lib/toaster/toastergui/templates/project.html5
1 files changed, 2 insertions, 3 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/project.html b/bitbake/lib/toaster/toastergui/templates/project.html
index d208bf8cfb..ae9ee9b44d 100644
--- a/bitbake/lib/toaster/toastergui/templates/project.html
+++ b/bitbake/lib/toaster/toastergui/templates/project.html
@@ -397,12 +397,11 @@ vim: expandtab tabstop=2
397 </form> 397 </form>
398 </div> 398 </div>
399 399
400 400 <h3 ng-if="releases.length > 1">
401 <h3>
402 Release 401 Release
403 <i class="icon-question-sign get-help heading-help" title="The version of the build system you want to use"></i> 402 <i class="icon-question-sign get-help heading-help" title="The version of the build system you want to use"></i>
404 </h3> 403 </h3>
405 <p class="lead" id="change-project-version-opposite"> 404 <p ng-if="releases.length > 1" class="lead" id="change-project-version-opposite">
406 <span id="project-version">{[project.release.desc]}</span> 405 <span id="project-version">{[project.release.desc]}</span>
407 <i id="change-version" class="icon-pencil" ng-click="toggle('#change-project-version')" ></i> 406 <i id="change-version" class="icon-pencil" ng-click="toggle('#change-project-version')" ></i>
408 </p> 407 </p>