Skip to content

Commit

Permalink
[IMP] runbot: display version in build error view
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
davidmonnom committed Sep 26, 2024
1 parent f8f435d commit 071a85d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions runbot/templates/build_error.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand All @@ -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="{{version.is_major ? 'text-bg-warning' : 'text-bg-info'}}" class="badge text-bg-pill text-bg-info 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>
Expand Down

0 comments on commit 071a85d

Please sign in to comment.