aboutsummaryrefslogtreecommitdiffstats
path: root/lib/toaster/toastergui/templates/landing.html
diff options
context:
space:
mode:
authorDavid Reyna <David.Reyna@windriver.com>2017-12-01 15:30:17 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-12-18 15:05:23 +0000
commit686a230d48ca666bdc0b0565f8e55cc890b90c5f (patch)
tree11e84f2096c3ac8866ac5dbdbfc5ee1edef942da /lib/toaster/toastergui/templates/landing.html
parent32f7a0df3626b36584f363897f9f092d8af1ac48 (diff)
downloadbitbake-686a230d48ca666bdc0b0565f8e55cc890b90c5f.tar.gz
toaster: add 'nobuild' option to Toaster
Add a 'nobuild' option for starting Toaster without the project and hosted builds support. This allows a Toaster host to provide local build statistics without opening the host to external users building projects. [YOCTO #12315] Signed-off-by: David Reyna <David.Reyna@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/toaster/toastergui/templates/landing.html')
-rw-r--r--lib/toaster/toastergui/templates/landing.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/toaster/toastergui/templates/landing.html b/lib/toaster/toastergui/templates/landing.html
index cf7516dbc..70c7359fa 100644
--- a/lib/toaster/toastergui/templates/landing.html
+++ b/lib/toaster/toastergui/templates/landing.html
@@ -21,11 +21,13 @@
</p>
{% if lvs_nos %}
+ {% if project_enable %}
<p class="top-air">
<a class="btn btn-primary btn-lg" href="{% url 'newproject' %}">
Create your first Toaster project to run manage builds
</a>
</p>
+ {% endif %}
{% else %}
<div class="alert alert-info lead top-air">
Toaster has no layer information. Without layer information, you cannot run builds. To generate layer information you can: