summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastergui/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/toaster/toastergui/views.py')
-rwxr-xr-xbitbake/lib/toaster/toastergui/views.py11
1 files changed, 8 insertions, 3 deletions
diff --git a/bitbake/lib/toaster/toastergui/views.py b/bitbake/lib/toaster/toastergui/views.py
index 14029813e8..8034cfceaf 100755
--- a/bitbake/lib/toaster/toastergui/views.py
+++ b/bitbake/lib/toaster/toastergui/views.py
@@ -2279,9 +2279,14 @@ if toastermain.settings.MANAGED:
2279 2279
2280 2280
2281 def _lv_to_dict(x): 2281 def _lv_to_dict(x):
2282 return {"id": x.pk, "name": x.layer.name, "tooltip": x.layer.vcs_url+" | "+x.commit, 2282 return {"id": x.pk,
2283 "detail": "(" + x.layer.vcs_url + (")" if x.up_branch == None else " | "+x.up_branch.name+")"), 2283 "name": x.layer.name,
2284 "giturl": x.layer.vcs_url, "layerdetailurl" : reverse('layerdetails', args=(x.pk,))} 2284 "tooltip": x.layer.vcs_url+" | "+x.get_vcs_reference(),
2285 "detail": "(" + x.layer.vcs_url + (")" if x.up_branch == None else " | "+x.get_vcs_reference()+")"),
2286 "giturl": x.layer.vcs_url,
2287 "layerdetailurl" : reverse('layerdetails', args=(x.pk,)),
2288 "revision" : x.get_vcs_reference(),
2289 }
2285 2290
2286 2291
2287 # returns layers for current project release that are not in the project set, matching the name 2292 # returns layers for current project release that are not in the project set, matching the name