diff --git a/bitbake/lib/toaster/toastergui/templates/recipe.html b/bitbake/lib/toaster/toastergui/templates/recipe.html index 716ddfac96..e367077a01 100644 --- a/bitbake/lib/toaster/toastergui/templates/recipe.html +++ b/bitbake/lib/toaster/toastergui/templates/recipe.html @@ -117,11 +117,13 @@ {{task.get_executed_display}} - {{task.get_outcome_display}} + + {{task.get_outcome_display}} + + {% ifnotequal task.sstate_result task.SSTATE_NA %} {{task.get_sstate_result_display}} - {% endifnotequal %} diff --git a/bitbake/lib/toaster/toastergui/templates/task.html b/bitbake/lib/toaster/toastergui/templates/task.html index 7c5b7435ff..1a7e9d4c04 100644 --- a/bitbake/lib/toaster/toastergui/templates/task.html +++ b/bitbake/lib/toaster/toastergui/templates/task.html @@ -76,7 +76,7 @@ {% for match in matching_tasks %} - + {{match.recipe.name}} @@ -87,7 +87,7 @@ {{match.get_executed_display}} - {{match.get_outcome_display}} + {{match.get_outcome_display}} {{match.build.completed_on|date:"d/m/y H:i"}} @@ -98,8 +98,8 @@ {% else %}

- We have found no tasks matching this prebuilt task.
- The task you are looking for could belong to a build for which Toaster has not data. + We have found no tasks matching this prebuilt task
+ The task you are looking for could belong to a build for which Toaster has no data.

{% endif %} {% elif task.outcome == task.OUTCOME_COVERED %} @@ -119,8 +119,7 @@ Log file
- {% for t in task.get_related_setscene %} {{t.logfile}}
{% endfor %} -
+ {% for t in task.get_related_setscene %} {{t.logfile}} {% endfor %}
{%elif task.outcome == task.OUTCOME_EMPTY%} @@ -243,10 +242,11 @@ {# Performance section - shown only for executed tasks #} -{%if task.task_executed %} +{%if task.elapsed_time or task.cpu_usage or task.disk_io %}

Performance

+{% endif %}
- {% if task.elapsed_time > 0.01 %} + {% if task.elapsed_time %}
Time (secs) @@ -268,8 +268,6 @@
{{task.disk_io|format_none_and_zero}}
{% endif %}
-{%endif%} - {% endblock %} diff --git a/bitbake/lib/toaster/toastergui/templates/tasks.html b/bitbake/lib/toaster/toastergui/templates/tasks.html index a2629dc1cb..ace30de3eb 100644 --- a/bitbake/lib/toaster/toastergui/templates/tasks.html +++ b/bitbake/lib/toaster/toastergui/templates/tasks.html @@ -51,7 +51,8 @@ {{task.get_executed_display}} - {{task.get_outcome_display}} + {{task.get_outcome_display}} + {{task.get_sstate_result_display|format_none_and_zero}}