[oe-commits] [bitbake] 02/05: toaster: fix add layer button for Machines

git at git.openembedded.org git at git.openembedded.org
Mon Apr 10 22:54:08 UTC 2017


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository bitbake.

commit 54d61e7c64c97799de85b3563119f0f5d051675e
Author: David Reyna <David.Reyna at windriver.com>
AuthorDate: Sun Apr 9 22:12:57 2017 -0700

    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]
    
    Signed-off-by: David Reyna <David.Reyna at windriver.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 lib/toaster/toastergui/templates/machine_btn.html | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/toaster/toastergui/templates/machine_btn.html b/lib/toaster/toastergui/templates/machine_btn.html
index 12b5c96..6debe65 100644
--- a/lib/toaster/toastergui/templates/machine_btn.html
+++ b/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;"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list