mirror of
https://git.yoctoproject.org/poky
synced 2026-06-01 13:09:50 +00:00
bitbake: toaster: fixes after refactoring
This patch fixes issues brought in by refactoring: * the New Build button is working with pre-set projects * the xhr_datatypeahead is exposed for calls that are not mapable to the REST objects * a new table returing recipes provided by layers currently selected in the project is used to provide recipe suggestions * the field names in json are switched from "list" to "rows" as to maintain consistency with the ToasterTables * the "value" field in xhr_ calls is now named "search" to maintain consistency (Bitbake rev: a5bc29083d4f85a5695f3f62d5badb783c6f7224) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
27f5137cd6
commit
58cd4a14ea
@@ -1,5 +1,6 @@
|
||||
<!DOCTYPE html>
|
||||
{% load static %}
|
||||
{% load projecttags %}
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>{% if objectname %} {{objectname|title}} - {% endif %}Toaster</title>
|
||||
@@ -33,8 +34,10 @@
|
||||
htmlUrl : "{% static 'html/' %}",
|
||||
projectsUrl : "{% url 'all-projects' %}",
|
||||
{% if project.id %}
|
||||
projectPageUrl : "{% url 'project' project.id %}",
|
||||
projectName : "{{project.name}}",
|
||||
projectPageUrl : {% url 'project' project.id as purl%}{{purl|json}},
|
||||
projectName : {{project.name|json}},
|
||||
projectTargetsUrl: {% url 'projectavailabletargets' project.id as paturl%}{{paturl|json}},
|
||||
projectBuildsUrl: {% url 'projectbuilds' project.id as pburl %}{{pburl|json}},
|
||||
projectId : {{project.id}},
|
||||
{% else %}
|
||||
projectPageUrl : undefined,
|
||||
|
||||
Reference in New Issue
Block a user