mirror of
https://git.yoctoproject.org/poky
synced 2026-06-01 13:09:50 +00:00
bitbake: toaster: Not using task_color tag for execution heading
The modifications to the task_color tag in commit 23a7c338d387ac2ba13a7a1114a4abc75228c960 broke the styling of failed tasks in the tasks.html template. Undo the changes to the task_color tag and use an if statement instead to set the .muted class when the execution heading says "Not executed". (Bitbake rev: e3b3205674f606b927f1bf568202a592ca6453c9) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
d24584f896
commit
b2e5cab1b5
@@ -131,15 +131,16 @@
|
||||
{% endif %}
|
||||
|
||||
{# Execution section #}
|
||||
<h2 {{task|task_color}}>
|
||||
{% if task.task_executed %}
|
||||
<h2>
|
||||
Executed
|
||||
<i class="icon-question-sign get-help heading-help" title="Executed tasks are those that need to run in order to generate the task output"></i>
|
||||
{% else %}
|
||||
{% else %}
|
||||
<h2 class="muted">
|
||||
Not Executed
|
||||
<i class="icon-question-sign get-help heading-help" title="Not executed tasks don't need to run because their outcome is provided by another task"></i>
|
||||
{% endif %}
|
||||
</h2>
|
||||
{% endif %}
|
||||
</h2>
|
||||
<dl class="dl-horizontal">
|
||||
<dt>
|
||||
<i class="icon-question-sign get-help" title="To make builds more efficient, the build system detects changes in the 'inputs' to a given task by creating a 'task signature'. If the signature changes, the build system assumes the inputs have changed and the task needs to be rerun"></i>
|
||||
|
||||
Reference in New Issue
Block a user