diff options
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() |