[IMP] runbot: display version in build error view

Before this commit, the build error view was not displaying the version
of versions that was buggy. This commit adds the version in the build
error view.
This commit is contained in:
David Monnom (moda) 2024-09-26 15:30:53 +02:00
parent f8f435d468
commit c8fdf0b186

View File

@ -9,6 +9,7 @@
<div class="col">Last seen date</div>
<div class="col col-md-3">Module</div>
<div class="col col-md-5">Summary</div>
<div class="col">Version</div>
<div class="col">Triggers</div>
<div class="col">Assigned to</div>
<div class="col">&amp;nbsp;</div>
@ -26,6 +27,11 @@
<code><t t-esc="build_error.summary"/></code>
</button>
</div>
<div class="col">
<t t-foreach="build_error.version_ids" t-as="version">
<span t-attf-class="{{'text-bg-warning' if version.is_major else 'text-bg-info'}}" class="badge text-bg-pill small"><t t-esc="version.name"/></span>
</t>
</div>
<div class="col">
<t t-foreach="build_error.trigger_ids" t-as="trigger">
<span class="badge text-bg-pill text-bg-info small"><t t-esc="trigger.name"/></span>