aboutsummaryrefslogtreecommitdiffstats
path: root/lib/toaster/toastergui/templates/base.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/base.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/base.html')
-rw-r--r--lib/toaster/toastergui/templates/base.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/toaster/toastergui/templates/base.html b/lib/toaster/toastergui/templates/base.html
index edbd110c2..4f7206489 100644
--- a/lib/toaster/toastergui/templates/base.html
+++ b/lib/toaster/toastergui/templates/base.html
@@ -110,6 +110,7 @@
All builds
</a>
</li>
+ {% if project_enable %}
<li id="navbar-all-projects"
{% if request.resolver_match.url_name == 'all-projects' %}
class="active"
@@ -119,6 +120,7 @@
All projects
</a>
</li>
+ {% endif %}
{% endif %}
<li id="navbar-docs">
<a target="_blank" href="http://www.yoctoproject.org/docs/latest/toaster-manual/toaster-manual.html">
@@ -127,7 +129,9 @@
</a>
</li>
</ul>
+ {% if project_enable %}
<a class="btn btn-default navbar-btn navbar-right" id="new-project-button" href="{% url 'newproject' %}">New project</a>
+ {% endif %}
</div>
</div>
</nav>