diff options
| author | Michael Wood <michael.g.wood@intel.com> | 2015-08-04 22:46:34 +0300 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-08-06 16:04:45 -0500 |
| commit | aff29d2cd837df90a2897b9b75753e4af30f132e (patch) | |
| tree | ed512f81667282dd478b43f3f90c06b05bbcb06f /bitbake/lib/toaster/toastergui/views.py | |
| parent | 73367c2ca82143c618a22f9faaa101761f192397 (diff) | |
| download | poky-aff29d2cd837df90a2897b9b75753e4af30f132e.tar.gz | |
bitbake: toastergui: Switch to using the new toaster typeahead widget
Switch the existing typeahead inputs to use the new typeahead widget.
This means we have a defined mechanism and end point for typeaheads
which meets the design specification.
(Bitbake rev: 31a8ae7909347f7b6edde5bbdf02b86dc1b32ed0)
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 'bitbake/lib/toaster/toastergui/views.py')
| -rwxr-xr-x | bitbake/lib/toaster/toastergui/views.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/bitbake/lib/toaster/toastergui/views.py b/bitbake/lib/toaster/toastergui/views.py index b43a01e951..b7bfb9a69d 100755 --- a/bitbake/lib/toaster/toastergui/views.py +++ b/bitbake/lib/toaster/toastergui/views.py | |||
| @@ -2235,6 +2235,8 @@ if True: | |||
| 2235 | "freqtargets": freqtargets[:5], | 2235 | "freqtargets": freqtargets[:5], |
| 2236 | "releases": map(lambda x: {"id": x.pk, "name": x.name, "description":x.description}, Release.objects.all()), | 2236 | "releases": map(lambda x: {"id": x.pk, "name": x.name, "description":x.description}, Release.objects.all()), |
| 2237 | "project_html": 1, | 2237 | "project_html": 1, |
| 2238 | "recipesTypeAheadUrl": reverse('xhr_recipestypeahead', args=(prj.pk,)), | ||
| 2239 | "projectBuildsUrl": reverse('projectbuilds', args=(prj.pk,)), | ||
| 2238 | } | 2240 | } |
| 2239 | 2241 | ||
| 2240 | if prj.release is not None: | 2242 | if prj.release is not None: |
| @@ -2784,9 +2786,9 @@ if True: | |||
| 2784 | for p in project_info.object_list: | 2786 | for p in project_info.object_list: |
| 2785 | p.id = p.pk | 2787 | p.id = p.pk |
| 2786 | p.projectPageUrl = reverse('project', args=(p.id,)) | 2788 | p.projectPageUrl = reverse('project', args=(p.id,)) |
| 2787 | p.projectLayersUrl = reverse('projectlayers', args=(p.id,)) | 2789 | p.layersTypeAheadUrl = reverse('xhr_layerstypeahead', args=(p.id,)) |
| 2790 | p.recipesTypeAheadUrl = reverse('xhr_recipestypeahead', args=(p.id,)) | ||
| 2788 | p.projectBuildsUrl = reverse('projectbuilds', args=(p.id,)) | 2791 | p.projectBuildsUrl = reverse('projectbuilds', args=(p.id,)) |
| 2789 | p.projectTargetsUrl = reverse('projectavailabletargets', args=(p.id,)) | ||
| 2790 | 2792 | ||
| 2791 | # build view-specific information; this is rendered specifically in the builds page, at the top of the page (i.e. Recent builds) | 2793 | # build view-specific information; this is rendered specifically in the builds page, at the top of the page (i.e. Recent builds) |
| 2792 | build_mru = _get_latest_builds() | 2794 | build_mru = _get_latest_builds() |
