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>
This commit is contained in:
Michael Wood 2015-07-31 15:09:20 +03:00 committed by Richard Purdie
parent 11627fc10f
commit b90a253fa6
1 changed files with 3 additions and 1 deletions

View File

@ -123,8 +123,10 @@
<span id="project">
{% if project.id %}
<a class="lead" href="{% url 'project' project.id %}">{{project.name}}</a>
<i class="icon-pencil"></i>
{% else %}
<a class="lead" href="#"></a>
{% endif %}
<i class="icon-pencil"></i>
</span>
<form id="change-project-form" style="display:none;">
<div class="input-append">