summaryrefslogtreecommitdiffstats
path: root/lib/toaster/toastergui/templates/base.html
diff options
context:
space:
mode:
authorMichael Wood <michael.g.wood@intel.com>2015-07-31 15:09:20 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-08-01 11:25:05 +0100
commite2ab67eaf76da9ee2009e8420d5584c3daa97ac1 (patch)
tree69c4be9d7e2681986d843467d70a70e1aaf52f54 /lib/toaster/toastergui/templates/base.html
parent047df808203f3779243eb88c069757f7a7b7bbed (diff)
downloadbitbake-e2ab67eaf76da9ee2009e8420d5584c3daa97ac1.tar.gz
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. 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 'lib/toaster/toastergui/templates/base.html')
-rw-r--r--lib/toaster/toastergui/templates/base.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/toaster/toastergui/templates/base.html b/lib/toaster/toastergui/templates/base.html
index 4bef04f90..c16fd6589 100644
--- a/lib/toaster/toastergui/templates/base.html
+++ b/lib/toaster/toastergui/templates/base.html
@@ -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">