[gnome-continuous-yocto/gnomeostree-3.28-rocko: 5577/8267] bitbake: toaster: fix add layer button for Machines
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-continuous-yocto/gnomeostree-3.28-rocko: 5577/8267] bitbake: toaster: fix add layer button for Machines
- Date: Sun, 17 Dec 2017 03:38:07 +0000 (UTC)
commit 2a40a0587e64a4bdf2ed64c4b84f0d6f4d602d7c
Author: David Reyna <David Reyna windriver com>
Date: Sun Apr 9 22:12:57 2017 -0700
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>
.../toaster/toastergui/templates/machine_btn.html | 4 ++--
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 12b5c96..6debe65 100644
--- a/bitbake/lib/toaster/toastergui/templates/machine_btn.html
+++ b/bitbake/lib/toaster/toastergui/templates/machine_btn.html
@@ -7,8 +7,8 @@
<a class="btn btn-default btn-block layerbtn
layer-add-{{data.layer_version.id}}" data-layer='{ "id":
{{data.layer_version.id}}, "name": "{{data.layer_version.layer.name}}",
- "layerdetailurl": "{%url 'layerdetails' extra.pid data.layer_version.id %},
- "xhrLayerUrl": "{% url "xhr_layer" extra.pid data.pk %}",
+ "layerdetailurl": "{%url 'layerdetails' extra.pid data.layer_version.id %}",
+ "xhrLayerUrl": "{% url "xhr_layer" extra.pid data.layer_version.id %}"
}' data-directive="add"
{% if data.layer_version.pk in extra.current_layers %}
style="display:none;"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]