diff options
Diffstat (limited to 'bitbake/lib/toaster')
-rw-r--r-- | bitbake/lib/toaster/toastergui/templates/baseprojectpage.html | 6 | ||||
-rwxr-xr-x | bitbake/lib/toaster/toastergui/views.py | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/baseprojectpage.html b/bitbake/lib/toaster/toastergui/templates/baseprojectpage.html index e140925..0807f4c 100644 --- a/bitbake/lib/toaster/toastergui/templates/baseprojectpage.html +++ b/bitbake/lib/toaster/toastergui/templates/baseprojectpage.html @@ -11,10 +11,16 @@ <li><a href="{% url 'all-builds' %}">All builds</a></li> {% block parentbreadcrumb %} {% if project %} + {% if project_html %} + <li> + {{project.name}} + </li> + {% else %} <li> <a href="{%url 'project' project.id %}"><span id="project_name">{{project.name}}</span> </a> </li> + {% endif %} {% endif %} {% endblock %} {% block localbreadcrumb %}{% endblock %} diff --git a/bitbake/lib/toaster/toastergui/views.py b/bitbake/lib/toaster/toastergui/views.py index e87c9f2..661023e 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} |