diff options
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates/base.html')
-rw-r--r-- | bitbake/lib/toaster/toastergui/templates/base.html | 4 |
1 files changed, 4 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> |