mirror of
https://github.com/odoo/runbot.git
synced 2025-03-15 23:45:44 +07:00
[IMP] runbot: don't add child log if there are to much children
This commit is contained in:
parent
94828f300b
commit
e2408a6869
@ -217,6 +217,7 @@
|
||||
</t>
|
||||
</table>
|
||||
</div>
|
||||
<t t-set="nb_subbuild" t-value="len(build.children_ids)"/>
|
||||
<div class="col-md-12">
|
||||
<table class="table table-condensed">
|
||||
<tr>
|
||||
@ -287,7 +288,7 @@
|
||||
<t t-else="">
|
||||
<t t-if="'\n' not in l.message" t-esc="l.message"/>
|
||||
<pre t-if="'\n' in l.message" style="margin:0;padding:0; border: none;"><t t-esc="l.message"/></pre>
|
||||
<t t-if="l.type == 'subbuild' and subbuild.sudo().error_log_ids">
|
||||
<t t-if="l.type == 'subbuild' and nb_subbuild <= 20 and build.local_result!='ok' subbuild.sudo().error_log_ids">
|
||||
<a class="show" data-toggle="collapse" t-attf-data-target="#subbuild-{{subbuild.id}}">
|
||||
<i class="fa"/>
|
||||
</a>
|
||||
|
Loading…
Reference in New Issue
Block a user