mirror of
https://github.com/odoo/runbot.git
synced 2025-03-27 13:25:47 +07:00
[IMP] runbot_merge: format of staging timestamps
* in the main dashboard, show the exact UTC timestamp (with a Z marker) on hover, not just the relative delta * in the branch details page, show the full timestamp, zoned, in ISO-8601 format
This commit is contained in:
parent
e542dfc852
commit
c1ebe9da52
@ -148,7 +148,8 @@
|
|||||||
</ul>
|
</ul>
|
||||||
<t t-if="staging.heads">
|
<t t-if="staging.heads">
|
||||||
<div class="dropdown">
|
<div class="dropdown">
|
||||||
<button class="btn btn-link dropdown-toggle" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
|
<button class="btn btn-link dropdown-toggle" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true"
|
||||||
|
t-attf-title="{{staging.staged_at}}Z">
|
||||||
Staged <span t-field="staging.staged_at" t-options="{'widget': 'relative'}"/>
|
Staged <span t-field="staging.staged_at" t-options="{'widget': 'relative'}"/>
|
||||||
<span class="caret"></span>
|
<span class="caret"></span>
|
||||||
</button>
|
</button>
|
||||||
@ -218,7 +219,7 @@
|
|||||||
<th t-att-title="title.strip() or None">
|
<th t-att-title="title.strip() or None">
|
||||||
<t t-if="not staging.heads">
|
<t t-if="not staging.heads">
|
||||||
<span t-field="staging.staged_at"
|
<span t-field="staging.staged_at"
|
||||||
t-options="{'widget': 'text'}"/>
|
t-options="{'format': 'yyyy-MM-dd\'T\'HH:mm:ssZ'}"/>
|
||||||
</t>
|
</t>
|
||||||
<div class="dropdown" t-if="staging.heads">
|
<div class="dropdown" t-if="staging.heads">
|
||||||
<button class="btn btn-link dropdown-toggle"
|
<button class="btn btn-link dropdown-toggle"
|
||||||
@ -227,7 +228,7 @@
|
|||||||
aria-haspopup="true"
|
aria-haspopup="true"
|
||||||
aria-expanded="true">
|
aria-expanded="true">
|
||||||
<span t-field="staging.staged_at"
|
<span t-field="staging.staged_at"
|
||||||
t-options="{'widget': 'text'}"/>
|
t-options="{'format': 'yyyy-MM-dd\'T\'HH:mm:ssZ'}"/>
|
||||||
<span class="caret"></span>
|
<span class="caret"></span>
|
||||||
</button>
|
</button>
|
||||||
<ul class="dropdown-menu">
|
<ul class="dropdown-menu">
|
||||||
|
Loading…
Reference in New Issue
Block a user