mirror of
https://git.yoctoproject.org/poky
synced 2026-09-13 18:49:33 +02:00
bitbake: toastergui: fix task executed status display
The proper way to get a display-able value in Django is to use a model method instead of clutter the template with if/else. [YOCTO #5641] (Bitbake rev: bb21b71dab70db163b804c7ebf27b85c59a39112) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
4ae598195b
commit
7008a24792
@@ -30,13 +30,7 @@
|
||||
<a href="{%url "task" build.pk task.pk%} ">{{task.task_name}}</a>
|
||||
</td>
|
||||
<td class="executed">
|
||||
<a href="{%url "task" build.pk task.pk%} ">
|
||||
{% if task.task_executed %}
|
||||
Executed
|
||||
{% else %}
|
||||
Not executed
|
||||
{% endif %}
|
||||
</a>
|
||||
<a href="{%url "task" build.pk task.pk%} ">{{task.get_executed_display}}</a>
|
||||
</td>
|
||||
<td class="outcome">
|
||||
<a href="{%url "task" build.pk task.pk%} ">{{task.get_outcome_display}}</a>
|
||||
|
||||
Reference in New Issue
Block a user