mirror of
https://github.com/odoo/runbot.git
synced 2025-03-15 15:35:46 +07:00
[IMP] forwardport: flag detached PRs in their dashboard
This is an important bit of information but it was not visible without going into the backend. `user-select-none` doesn't work in BS3 but that way it'll be ready for an eventual update. Currently when hovering the badge the cursor switches to text selection, and the text is selectable, which is useless. Complements 4e235a2 and finishes the fixes for #617
This commit is contained in:
parent
4e70b1acbb
commit
e8ae5ec263
1
forwardport/changelog/2022-06/detached.md
Normal file
1
forwardport/changelog/2022-06/detached.md
Normal file
@ -0,0 +1 @@
|
||||
IMP: flag detached PRs in their dashboard
|
@ -109,6 +109,11 @@
|
||||
<a t-att-href="pr.source_id.url">
|
||||
<span t-field="pr.source_id.display_name"/>
|
||||
</a>
|
||||
<span t-if="not pr.parent_id"
|
||||
class="badge badge-danger user-select-none"
|
||||
title="A detached PR behaves like a non-forward-port, it has to be approved via the mergebot, this is usually caused by the forward-port having been in conflict or updated.">
|
||||
DETACHED
|
||||
</span>
|
||||
</dd>
|
||||
</t>
|
||||
<t t-if="pr.forwardport_ids">
|
||||
|
Loading…
Reference in New Issue
Block a user