mirror of
https://github.com/odoo/runbot.git
synced 2025-03-15 15:35:46 +07:00
[IMP] runbot: add links to sticky-dashboard
This commit is contained in:
parent
238d6c6fab
commit
b8d06e7fa0
@ -1228,6 +1228,7 @@ class RunbotController(http.Controller):
|
||||
if 'name' not in r:
|
||||
r.update({
|
||||
'name': repo.name,
|
||||
'base': repo.base,
|
||||
'testing': count([('repo_id', '=', repo.id), ('state', '=', 'testing')]),
|
||||
'running': count([('repo_id', '=', repo.id), ('state', '=', 'running')]),
|
||||
'pending': count([('repo_id', '=', repo.id), ('state', '=', 'pending')]),
|
||||
|
@ -494,9 +494,9 @@
|
||||
</t>
|
||||
<br/>
|
||||
<i class="fa fa-envelope-o"></i>
|
||||
<span t-esc="bu['subject'][:32] + ('...' if bu['subject'][32:] else '') " t-att-title="bu['subject']"/>
|
||||
<a t-attf-href="https://#{repo['base']}/commit/#{bu['name']}"><t t-esc="bu['subject'][:32] + ('...' if bu['subject'][32:] else '') " t-att-title="bu['subject']"/></a>
|
||||
<br/>
|
||||
<t t-call="runbot.build_name"/> — <small><t t-esc="bu['dest']"/> on <t t-esc="bu['host']"/></small>
|
||||
<t t-call="runbot.build_name"/> — <small><a t-attf-href="/runbot/build/{{bu['id']}}"><t t-esc="bu['dest']"/></a> on <t t-esc="bu['host']"/> <a t-if="bu['state'] == 'running'" t-attf-href="http://{{bu['domain']}}/?db={{bu['dest']}}-all"><i class="fa fa-sign-in"></i></a></small>
|
||||
</div>
|
||||
</t>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user