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