mirror of
https://github.com/odoo/runbot.git
synced 2025-03-15 23:45:44 +07:00
[IMP] runbot: make link to backend have the runbot menu
This commit is contained in:
parent
eaf8964701
commit
831f5f7197
@ -36,7 +36,7 @@
|
||||
</div>
|
||||
<div class="col"><t t-esc="build_error.responsible.name"/></div>
|
||||
<div class="col">
|
||||
<a groups="base.group_user" t-attf-href="/web/#id={{build_error.id}}&view_type=form&model=runbot.build.error" target="new" title="View in Backend">
|
||||
<a groups="base.group_user" t-attf-href="/web/#id={{build_error.id}}&view_type=form&model=runbot.build.error&menu_id={{env.ref('runbot.runbot_menu_root').id}}" target="new" title="View in Backend">
|
||||
<i class="fa fa-list"/>
|
||||
</a>
|
||||
<a t-att-href="build_error.last_seen_build_id.build_url" t-attf-title="View last affected build ({{build_error.last_seen_build_id.id}})"><i class="fa fa-external-link"/></a>
|
||||
@ -102,7 +102,7 @@
|
||||
<div t-if="team" class='col-md-12'>
|
||||
<div class="col-lg-12 text-center mb16">
|
||||
<h2>Team <t t-esc="team.name.capitalize()"/>
|
||||
<a groups="base.group_user" t-attf-href="/web/#id={{team.id}}&view_type=form&model=runbot.team" target="new" title="View in Backend">
|
||||
<a groups="base.group_user" t-attf-href="/web/#id={{team.id}}&view_type=form&model=runbot.team&menu_id={{env.ref('runbot.runbot_menu_root').id}}" target="new" title="View in Backend">
|
||||
<i class="fa fa-list"/>
|
||||
</a>
|
||||
</h2>
|
||||
|
@ -11,7 +11,7 @@
|
||||
<t t-esc="bundle.name"/>
|
||||
<i t-if="bundle.sticky" class="fa fa-star" style="color: #f0ad4e" />
|
||||
<div class="btn-group" role="group">
|
||||
<a groups="runbot.group_runbot_admin" t-attf-href="/web/#id={{bundle.id}}&view_type=form&model=runbot.bundle" class="btn btn-default btn-sm" target="new" title="View in Backend">
|
||||
<a groups="runbot.group_runbot_admin" t-attf-href="/web/#id={{bundle.id}}&view_type=form&model=runbot.bundle&menu_id={{env.ref('runbot.runbot_menu_root').id}}" class="btn btn-default btn-sm" target="new" title="View in Backend">
|
||||
<i class="fa fa-list"/>
|
||||
</a>
|
||||
<a class="btn btn-default" groups="base.group_user" t-attf-href="/runbot/bundle/{{bundle.id}}/force" title="Force A New Batch">
|
||||
|
@ -312,7 +312,7 @@
|
||||
<i class="fa fa-search"/>
|
||||
Find similar builds
|
||||
</a>
|
||||
<a class="dropdown-item" t-attf-href="/web/#id={{bu['id']}}&view_type=form&model=runbot.build" target="new">
|
||||
<a class="dropdown-item" t-attf-href="/web/#id={{bu['id']}}&view_type=form&model=runbot.build&menu_id={{env.ref('runbot.runbot_menu_root').id}}" target="new">
|
||||
<i class="fa fa-list"/>
|
||||
View in backend
|
||||
</a>
|
||||
|
Loading…
Reference in New Issue
Block a user