summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster
diff options
context:
space:
mode:
authorDavid Reyna <David.Reyna@windriver.com>2017-04-09 22:12:57 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-04-11 18:05:09 +0100
commit2a40a0587e64a4bdf2ed64c4b84f0d6f4d602d7c (patch)
tree244233de7583f1aed052183c23caa944e6e63558 /bitbake/lib/toaster
parentd8be835e28d2a96860ec38e85cc620ee2a67d2df (diff)
downloadpoky-2a40a0587e64a4bdf2ed64c4b84f0d6f4d602d7c.tar.gz
bitbake: toaster: fix add layer button for Machines
Fix a missing close quote in the layer add button, and use the layer index for the xhr_layer call. [YOCTO #11213] (Bitbake rev: 54d61e7c64c97799de85b3563119f0f5d051675e) Signed-off-by: David Reyna <David.Reyna@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster')
-rw-r--r--bitbake/lib/toaster/toastergui/templates/machine_btn.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/machine_btn.html b/bitbake/lib/toaster/toastergui/templates/machine_btn.html
index 12b5c96c2c..6debe65738 100644
--- a/bitbake/lib/toaster/toastergui/templates/machine_btn.html
+++ b/bitbake/lib/toaster/toastergui/templates/machine_btn.html
@@ -7,8 +7,8 @@
7<a class="btn btn-default btn-block layerbtn 7<a class="btn btn-default btn-block layerbtn
8layer-add-{{data.layer_version.id}}" data-layer='{ "id": 8layer-add-{{data.layer_version.id}}" data-layer='{ "id":
9 {{data.layer_version.id}}, "name": "{{data.layer_version.layer.name}}", 9 {{data.layer_version.id}}, "name": "{{data.layer_version.layer.name}}",
10 "layerdetailurl": "{%url 'layerdetails' extra.pid data.layer_version.id %}, 10 "layerdetailurl": "{%url 'layerdetails' extra.pid data.layer_version.id %}",
11 "xhrLayerUrl": "{% url "xhr_layer" extra.pid data.pk %}", 11 "xhrLayerUrl": "{% url "xhr_layer" extra.pid data.layer_version.id %}"
12 }' data-directive="add" 12 }' data-directive="add"
13 {% if data.layer_version.pk in extra.current_layers %} 13 {% if data.layer_version.pk in extra.current_layers %}
14 style="display:none;" 14 style="display:none;"