diff options
author | Michael Wood <michael.g.wood@intel.com> | 2015-07-31 15:09:20 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-08-01 11:26:12 +0100 |
commit | b90a253fa669710cc202f5890d80d59559d42954 (patch) | |
tree | 3b9bf6d9d78ead16bf6fbe68e1355d459585dd88 /bitbake | |
parent | 11627fc10fa3c45189af1d9b6e549e5223a0f29b (diff) | |
download | poky-b90a253fa669710cc202f5890d80d59559d42954.tar.gz |
bitbake: toastergui: newbuildbutton Fix removed elements
All the elements for the new build button need to be present for the
build button to work. Now that the template variables all have to have
values we have to make sure that the elements are still added to the dom
for the js to manipulate them.
(Bitbake rev: e2ab67eaf76da9ee2009e8420d5584c3daa97ac1)
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/toaster/toastergui/templates/base.html | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/base.html b/bitbake/lib/toaster/toastergui/templates/base.html index 4bef04f90e..c16fd65899 100644 --- a/bitbake/lib/toaster/toastergui/templates/base.html +++ b/bitbake/lib/toaster/toastergui/templates/base.html | |||
@@ -123,8 +123,10 @@ | |||
123 | <span id="project"> | 123 | <span id="project"> |
124 | {% if project.id %} | 124 | {% if project.id %} |
125 | <a class="lead" href="{% url 'project' project.id %}">{{project.name}}</a> | 125 | <a class="lead" href="{% url 'project' project.id %}">{{project.name}}</a> |
126 | <i class="icon-pencil"></i> | 126 | {% else %} |
127 | <a class="lead" href="#"></a> | ||
127 | {% endif %} | 128 | {% endif %} |
129 | <i class="icon-pencil"></i> | ||
128 | </span> | 130 | </span> |
129 | <form id="change-project-form" style="display:none;"> | 131 | <form id="change-project-form" style="display:none;"> |
130 | <div class="input-append"> | 132 | <div class="input-append"> |