aboutsummaryrefslogtreecommitdiffstats
path: root/lib/toaster/toastergui/templates/landing.html
diff options
context:
space:
mode:
authorDavid Reyna <David.Reyna@windriver.com>2017-11-30 00:55:28 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-12-18 15:04:58 +0000
commit2d14d6004b6add5ce07295fff1144ade2e54e1c9 (patch)
tree2f7835e0222697e287961fb22a7c6620934a560c /lib/toaster/toastergui/templates/landing.html
parentd0358432ca9dd3deef623f6d0585d99d23b3aede (diff)
downloadbitbake-2d14d6004b6add5ce07295fff1144ade2e54e1c9.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: