From 2f684f1bdc188fde5142ee95989994a7990984c5 Mon Sep 17 00:00:00 2001 From: David Reyna Date: Thu, 12 Mar 2015 21:50:56 -0700 Subject: bitbake: toaster: Incorrect breadcrumb behaviour in the project page The last item in the breadcrumb for the project page should not be a link. [YOCTO #7157] (Bitbake rev: 6966d68e650c2d5655a1e747e70d35f5f037dc94) Signed-off-by: David Reyna Signed-off-by: Richard Purdie --- bitbake/lib/toaster/toastergui/templates/baseprojectpage.html | 6 ++++++ bitbake/lib/toaster/toastergui/views.py | 1 + 2 files changed, 7 insertions(+) (limited to 'bitbake') diff --git a/bitbake/lib/toaster/toastergui/templates/baseprojectpage.html b/bitbake/lib/toaster/toastergui/templates/baseprojectpage.html index e1409252eb..0807f4cb1d 100644 --- a/bitbake/lib/toaster/toastergui/templates/baseprojectpage.html +++ b/bitbake/lib/toaster/toastergui/templates/baseprojectpage.html @@ -11,10 +11,16 @@
  • All builds
  • {% block parentbreadcrumb %} {% if project %} + {% if project_html %} +
  • + {{project.name}} +
  • + {% else %}
  • {{project.name}}
  • + {% endif %} {% endif %} {% endblock %} {% block localbreadcrumb %}{% endblock %} diff --git a/bitbake/lib/toaster/toastergui/views.py b/bitbake/lib/toaster/toastergui/views.py index e87c9f2890..661023e523 100755 --- a/bitbake/lib/toaster/toastergui/views.py +++ b/bitbake/lib/toaster/toastergui/views.py @@ -2142,6 +2142,7 @@ if toastermain.settings.MANAGED: "targets" : map(lambda x: {"target" : x.target, "task" : x.task, "pk": x.pk}, prj.projecttarget_set.all()), "freqtargets": freqtargets, "releases": map(lambda x: {"id": x.pk, "name": x.name, "description":x.description}, Release.objects.all()), + "project_html": 1, } try: context["machine"] = {"name": prj.projectvariable_set.get(name="MACHINE").value} -- cgit v1.2.3-54-g00ecf