summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastergui/templates
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates')
-rw-r--r--bitbake/lib/toaster/toastergui/templates/base.html4
-rw-r--r--bitbake/lib/toaster/toastergui/templates/landing.html2
2 files changed, 6 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/base.html b/bitbake/lib/toaster/toastergui/templates/base.html
index edbd110c25..4f7206489b 100644
--- a/bitbake/lib/toaster/toastergui/templates/base.html
+++ b/bitbake/lib/toaster/toastergui/templates/base.html
@@ -110,6 +110,7 @@
110 All builds 110 All builds
111 </a> 111 </a>
112 </li> 112 </li>
113 {% if project_enable %}
113 <li id="navbar-all-projects" 114 <li id="navbar-all-projects"
114 {% if request.resolver_match.url_name == 'all-projects' %} 115 {% if request.resolver_match.url_name == 'all-projects' %}
115 class="active" 116 class="active"
@@ -119,6 +120,7 @@
119 All projects 120 All projects
120 </a> 121 </a>
121 </li> 122 </li>
123 {% endif %}
122 {% endif %} 124 {% endif %}
123 <li id="navbar-docs"> 125 <li id="navbar-docs">
124 <a target="_blank" href="http://www.yoctoproject.org/docs/latest/toaster-manual/toaster-manual.html"> 126 <a target="_blank" href="http://www.yoctoproject.org/docs/latest/toaster-manual/toaster-manual.html">
@@ -127,7 +129,9 @@
127 </a> 129 </a>
128 </li> 130 </li>
129 </ul> 131 </ul>
132 {% if project_enable %}
130 <a class="btn btn-default navbar-btn navbar-right" id="new-project-button" href="{% url 'newproject' %}">New project</a> 133 <a class="btn btn-default navbar-btn navbar-right" id="new-project-button" href="{% url 'newproject' %}">New project</a>
134 {% endif %}
131 </div> 135 </div>
132 </div> 136 </div>
133 </nav> 137 </nav>
diff --git a/bitbake/lib/toaster/toastergui/templates/landing.html b/bitbake/lib/toaster/toastergui/templates/landing.html
index cf7516dbc8..70c7359fad 100644
--- a/bitbake/lib/toaster/toastergui/templates/landing.html
+++ b/bitbake/lib/toaster/toastergui/templates/landing.html
@@ -21,11 +21,13 @@
21 </p> 21 </p>
22 22
23 {% if lvs_nos %} 23 {% if lvs_nos %}
24 {% if project_enable %}
24 <p class="top-air"> 25 <p class="top-air">
25 <a class="btn btn-primary btn-lg" href="{% url 'newproject' %}"> 26 <a class="btn btn-primary btn-lg" href="{% url 'newproject' %}">
26 Create your first Toaster project to run manage builds 27 Create your first Toaster project to run manage builds
27 </a> 28 </a>
28 </p> 29 </p>
30 {% endif %}
29 {% else %} 31 {% else %}
30 <div class="alert alert-info lead top-air"> 32 <div class="alert alert-info lead top-air">
31 Toaster has no layer information. Without layer information, you cannot run builds. To generate layer information you can: 33 Toaster has no layer information. Without layer information, you cannot run builds. To generate layer information you can: