mirror of
https://github.com/odoo/runbot.git
synced 2025-03-15 23:45:44 +07:00
[IMP] runbot: improve build error display in logs
This commit is contained in:
parent
831f5f7197
commit
b606a2199b
@ -314,13 +314,22 @@
|
||||
</td>
|
||||
</tr>
|
||||
<t t-if="l.error_id">
|
||||
<t t-set="icon" t-value="'list'"/>
|
||||
<t t-set="error" t-value="l.error_id"/>
|
||||
<t t-set="size" t-value=""/>
|
||||
<t t-if="l.error_id.parent_id">
|
||||
<t t-set="icon" t-value="'link'"/>
|
||||
<t t-set="error" t-value="l.error_id.parent_id"/>
|
||||
<t t-set="size" t-value="'small'"/>
|
||||
</t>
|
||||
<tr>
|
||||
<td></td><td></td><td></td>
|
||||
<td class="bg-info-light">
|
||||
<td/><td/><td/>
|
||||
<td t-attf-class="bg-info-light {{size}}">
|
||||
This error is already known.
|
||||
<a groups="runbot.group_build_config_user" t-attf-href="/web#id={{l.error_id.id}}&view_type=form&model=runbot.build.error" title="View in Backend" target="new">
|
||||
<i class="fa fa-list"/>
|
||||
<a groups="runbot.group_build_config_user" t-attf-href="/web#id={{l.error_id.id}}&view_type=form&model=runbot.build.error&menu_id={{env.ref('runbot.runbot_menu_root').id}}" title="View in Backend" target="new">
|
||||
<i t-attf-class="fa fa-{{icon}}"/>
|
||||
</a>
|
||||
<span groups="runbot.group_runbot_admin" t-if="error.responsible or error.responsible.id == uid">(<i t-esc="error.responsible.name"/>)</span>
|
||||
</td>
|
||||
</tr>
|
||||
</t>
|
||||
|
Loading…
Reference in New Issue
Block a user