better display of build

This commit is contained in:
Antony Lesuisse 2014-05-28 15:47:36 +02:00
parent 08f2a10d84
commit d46035c7f7

View File

@ -342,11 +342,18 @@
<t t-if="bu.state in ['running','done'] and bu.result == 'ko'"><t t-set="klass">danger</t></t>
<t t-if="bu.state in ['running','done'] and bu.result == 'ok'"><t t-set="klass">success</t></t>
<td t-attf-class="{{klass}}">
<small>
<t t-call="runbot.build_button"><t t-set="klass">btn-group-sm</t></t>
<t t-esc="bu.subject[:24] if bu.subject else ''"/><br/>
<t t-if="bu.subject">
<span t-esc="bu.subject[:32] + ('...' if bu.subject[32:] else '') " t-att-title="bu.subject"/>
<br/>
</t>
<t t-id="bu.author">
<t t-esc="bu.author"/><br/>
</t>
<small><t t-esc="bu.dest"/></small><br/>
<t t-call="runbot.build_name"/>
</small>
</td>
</t>
</tr>
@ -433,7 +440,7 @@
</div>
</nav>
<p>
Subject: <t t-esc="build.subject[:24] if build.subject else ''"/><br/>
Subject: <t t-esc="build.subject"/><br/>
Author: <t t-esc="build.author"/><br/>
</p>
<table class="table table-condensed table-striped">