diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2015-12-02 10:02:50 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-12-07 17:37:10 +0000 |
commit | 4c1e5ec29ace325d03a5a1386e384201a00f15cf (patch) | |
tree | eafadc88924ac99464de68d1ab2108808cec41d0 /bitbake/lib/toaster/toastergui/templates/base.html | |
parent | 990289511b7dc56580f2cecdda75fa14f436966d (diff) | |
download | poky-4c1e5ec29ace325d03a5a1386e384201a00f15cf.tar.gz |
bitbake: toaster: remove usage of BUILD_MODE variable
As both modes can be used at the same time we can't have any
difference in UI between modes.
Removed all conditional statements that used BUILD_MODE.
(Bitbake rev: 4ce1559c2558bd0fd278ff02a1a93bec03c4156b)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: brian avery <avery.brian@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates/base.html')
-rw-r--r-- | bitbake/lib/toaster/toastergui/templates/base.html | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/base.html b/bitbake/lib/toaster/toastergui/templates/base.html index e0b15cef12..8081f069f4 100644 --- a/bitbake/lib/toaster/toastergui/templates/base.html +++ b/bitbake/lib/toaster/toastergui/templates/base.html | |||
@@ -79,7 +79,7 @@ | |||
79 | <i class="icon-info-sign" title="<strong>Toaster version information</strong>" data-content="<dl><dt>Branch</dt><dd>{{TOASTER_BRANCH}}</dd><dt>Revision</dt><dd>{{TOASTER_REVISION}}</dd></dl>"></i> | 79 | <i class="icon-info-sign" title="<strong>Toaster version information</strong>" data-content="<dl><dt>Branch</dt><dd>{{TOASTER_BRANCH}}</dd><dt>Revision</dt><dd>{{TOASTER_REVISION}}</dd></dl>"></i> |
80 | {% endif %} | 80 | {% endif %} |
81 | </span> | 81 | </span> |
82 | {% if BUILD_MODE and request.resolver_match.url_name != 'landing' and request.resolver_match.url_name != 'newproject' %} | 82 | {% if request.resolver_match.url_name != 'landing' and request.resolver_match.url_name != 'newproject' %} |
83 | <ul class="nav"> | 83 | <ul class="nav"> |
84 | <li {% if request.resolver_match.url_name == 'all-builds' %} | 84 | <li {% if request.resolver_match.url_name == 'all-builds' %} |
85 | class="active" | 85 | class="active" |
@@ -108,13 +108,6 @@ | |||
108 | </li> | 108 | </li> |
109 | </ul> | 109 | </ul> |
110 | <span class="pull-right divider-vertical"></span> | 110 | <span class="pull-right divider-vertical"></span> |
111 | |||
112 | <!-- new project button; only show in build mode --> | ||
113 | {% if BUILD_MODE %} | ||
114 | <div class="btn-group pull-right"> | ||
115 | <a class="btn" id="new-project-button" href="{% url 'newproject' %}">New project</a> | ||
116 | </div> | ||
117 | {% endif %} | ||
118 | </div> | 111 | </div> |
119 | </div> | 112 | </div> |
120 | </div> | 113 | </div> |