diff --git a/bitbake/lib/toaster/toastergui/templates/mrb_section.html b/bitbake/lib/toaster/toastergui/templates/mrb_section.html index 4b4e3e691b..b164269a13 100644 --- a/bitbake/lib/toaster/toastergui/templates/mrb_section.html +++ b/bitbake/lib/toaster/toastergui/templates/mrb_section.html @@ -3,6 +3,7 @@ {% load project_url_tag %} {% load humanize %} + -{%if mru %} +{% if mru %} - {%if mrb_type == 'project' %} -

- Latest project builds + {% if mrb_type == 'project' %} +

+ Latest project builds - {% if project.is_default %} - - {% endif %} -

+ {% if project.is_default %} + + {% endif %} + {% else %} {% endif %} +
- {% for build in mru %} -
+ {% for build in mru %} +
{% if mrb_type != 'project' %} -
- {% endif %} +
- {% if build.outcome == build.SUCCEEDED or build.outcome == build.FAILED %} -
- {% if build.completed_on|format_build_date %} - {{ build.completed_on|date:'d/m/y H:i' }} + > + {% if build.target_set.all.0.task %} + {{build.get_sorted_target_list.0.target}}:{{build.target_set.all.0.task}} {% else %} - {{ build.completed_on|date:'H:i' }} + {{build.get_sorted_target_list.0.target}} {% endif %} -
- {% endif %} - {%if build.outcome == build.SUCCEEDED or build.outcome == build.FAILED %} + + {% if build.target_set.all.count > 1 %} + (+{{build.target_set.all.count|add:"-1"}}) + {% endif %} + + {% endif %} + {% if build.outcome == build.SUCCEEDED or build.outcome == build.FAILED %} + + {% endif %} +
+ + {% if build.outcome == build.SUCCEEDED or build.outcome == build.FAILED %}
- {% if build.errors.count %} + {% if build.completed_on|format_build_date %} + {{build.completed_on|date:'d/m/y H:i'}} + {% else %} + {{ build.completed_on|date:'H:i' }} + {% endif %} +
+ {% endif %} + + {% if build.outcome == build.SUCCEEDED or build.outcome == build.FAILED %} + +
- {% if build.warnings.count %} + {% if build.warnings.count %} - {{build.warnings.count}} warning{{build.warnings.count|pluralize}} - {% endif %} + + {{build.warnings.count}} warning{{build.warnings.count|pluralize}} + + {% endif %}
+
Build time: {{ build.timespent_seconds|sectohms }} + {% if build.project.is_default %} - - + + {% else %} - - - Rebuild - + + + Rebuild + {% endif %}
- {%endif%} + {% endif %} - {%if build.outcome == build.IN_PROGRESS %} - -
-
-
+ {% if build.outcome == build.IN_PROGRESS %} + + +
+
+
+
+
+
+ +
+ {{build.completeper}}% of tasks complete + {# No build cancel for command line builds project #} + {% if build.project.is_default %} + + {% else %} + + + Cancel + + {% endif %} +
+ {% endif %} {# end if in progress #} + + {% if build.outcome == build.CANCELLED %} +
+ Build cancelled +
+ + + {% endif %} +
-
-
{{build.completeper}}% of tasks complete - {# No build cancel for command line builds project #} - {% if build.project.is_default %} - - {% else %} - - - Cancel - -
- {% endif %} - - {%endif%} {# end if in progress #} - - {% if build.outcome == build.CANCELLED %} -
- Build cancelled -
- - {% endif %} + {% endfor %}
-
- {% endfor %} -
- -{%endif%} - +{% endif %} \ No newline at end of file