diff options
Diffstat (limited to 'yocto-poky/bitbake/lib/toaster/toastergui/templates/tasks.html')
-rw-r--r-- | yocto-poky/bitbake/lib/toaster/toastergui/templates/tasks.html | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/yocto-poky/bitbake/lib/toaster/toastergui/templates/tasks.html b/yocto-poky/bitbake/lib/toaster/toastergui/templates/tasks.html index b18b5c7c4..353410f92 100644 --- a/yocto-poky/bitbake/lib/toaster/toastergui/templates/tasks.html +++ b/yocto-poky/bitbake/lib/toaster/toastergui/templates/tasks.html @@ -1,33 +1,34 @@ {% extends "basebuildpage.html" %} {% load projecttags %} +{% block title %} {{mainheading}} - {{build.target_set.all|dictsort:"target"|join:", "}} {{build.machine}} - {{build.project.name}} - Toaster{% endblock %} {% block localbreadcrumb %} -<li>{{title}}</li> +<li>{{mainheading}}</li> {% endblock %} {% block nav-tasks %} - {% if 'Tasks' == title %} + {% if 'Tasks' == mainheading %} <li class="active"><a href="{% url 'tasks' build.pk %}">Tasks</a></li> {% else %} <li><a href="{% url 'tasks' build.pk %}">Tasks</a></li> {% endif %} {% endblock %} {% block nav-buildtime %} - {% if 'Time' == title %} + {% if 'Time' == mainheading %} <li class="active"><a href="{% url 'buildtime' build.pk %}">Time</a></li> {% else %} <li><a href="{% url 'buildtime' build.pk %}">Time</a></li> {% endif %} {% endblock %} {% block nav-cpuusage %} - {% if 'CPU usage' == title %} + {% if 'CPU usage' == mainheading %} <li class="active"><a href="{% url 'cpuusage' build.pk %}">CPU usage</a></li> {% else %} <li><a href="{% url 'cpuusage' build.pk %}">CPU usage</a></li> {% endif %} {% endblock %} {% block nav-diskio %} - {% if 'Disk I/O' == title %} + {% if 'Disk I/O' == mainheading %} <li class="active"><a href="{% url 'diskio' build.pk %}">Disk I/O</a></li> {% else %} <li><a href="{% url 'diskio' build.pk %}">Disk I/O</a></li> @@ -39,7 +40,7 @@ {% if not request.GET.filter and not request.GET.search and not objects.paginator.count %} <!-- Empty - no data in database --> <div class="page-header"> - <h1>{{title}}</h1> + <h1>{{mainheading}}</h1> </div> <div class="alert alert-info lead"> No data was recorded for this build. @@ -54,7 +55,7 @@ {%elif request.GET.filter and objects.paginator.count == 0 or request.GET.search and objects.paginator.count == 0 %} No tasks found {%else%} - {{title}} + {{mainheading}} {%endif%} </h1> </div> |