Skip to content

Commit

Permalink
[REF] runbot_travis2docker: Fix tabs by spaces view
Browse files Browse the repository at this point in the history
  • Loading branch information
moylop260 committed Nov 27, 2016
1 parent 3fb0368 commit 75dd58e
Showing 1 changed file with 44 additions and 44 deletions.
88 changes: 44 additions & 44 deletions runbot_travis2docker/views/runbot_repo_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,65 +5,65 @@
<record id="view_runbot_build_form" model="ir.ui.view">
<field name="model">runbot.build</field>
<field name="inherit_id" ref="runbot.view_build_form"/>
<field name="priority">5</field>
<field name="priority">5</field>
<field name="arch" type="xml">
<xpath expr="//group" position="inside">
<field name="introspection"/>
</xpath>
<xpath expr="//header" position="replace">
<xpath expr="//header" position="replace">
<header>
<button name="kill_build" type="object" string="Kill This Build"
help="Kill this build, It will work only with dockerized builds."
confirm="This action can not be cancelled, are you sure?"
groups="runbot.group_runbot_admin" />
<button name="rebuild" type="object" string="Force Rebuild"
help="Kill and Start again."
confirm="This action can not be cancelled, are you sure?"
groups="runbot.group_runbot_admin" />
</header>
<button name="kill_build" type="object" string="Kill This Build"
help="Kill this build, It will work only with dockerized builds."
confirm="This action can not be cancelled, are you sure?"
groups="runbot.group_runbot_admin" />
<button name="rebuild" type="object" string="Force Rebuild"
help="Kill and Start again."
confirm="This action can not be cancelled, are you sure?"
groups="runbot.group_runbot_admin" />
</header>
</xpath>
</field>
</record>
<record id="view_runbot_repo_form" model="ir.ui.view">
<field name="model">runbot.repo</field>
<field name="inherit_id" ref="runbot.view_repo_form"/>
<field name="priority">5</field>
<field name="priority">5</field>
<field name="arch" type="xml">
<xpath expr="//sheet" position="before">
<header>
<button name="update" type="object" string="Update"
groups="runbot.group_runbot_admin"/>
<button name="cron" type="object" string="Cron"
groups="runbot.group_runbot_admin"/>
<!--
<button name="killall" type="object" string="Killall" groups="runbot.group_runbot_admin"/>
-->
</header>
</xpath>
<xpath expr="//div[@class='oe_title']" position="replace">
</xpath>
<xpath expr="//sheet" position="before">
<header>
<button name="update" type="object" string="Update"
groups="runbot.group_runbot_admin"/>
<button name="cron" type="object" string="Cron"
groups="runbot.group_runbot_admin"/>
<!--
<button name="killall" type="object" string="Killall" groups="runbot.group_runbot_admin"/>
-->
</header>
</xpath>
<xpath expr="//div[@class='oe_title']" position="replace">
</xpath>
<xpath expr="//group" position="before">
<label for="name" class="oe_edit_only"/>
<h1><field name="name"/></h1>
<label for="group_ids" class="oe_edit_only"/>
<field name="group_ids" widget="many2many_tags"/>
</xpath>
<label for="name" class="oe_edit_only"/>
<h1><field name="name"/></h1>
<label for="group_ids" class="oe_edit_only"/>
<field name="group_ids" widget="many2many_tags"/>
</xpath>
<xpath expr="//group" position="replace">
<group>
<group name="parameters" cols="3" string="Paramenters">
<field name="mode"/>
<field name="nginx"/>
<field name="token"/>
<field name="hook_time" readonly="1"/>
</group>
<group name="travis2docker" cols="3" string="Travis2Docker Paramenters">
<field name="is_travis2docker_build"/>
<group>
<group name="parameters" cols="3" string="Paramenters">
<field name="mode"/>
<field name="nginx"/>
<field name="token"/>
<field name="hook_time" readonly="1"/>
</group>
<group name="travis2docker" cols="3" string="Travis2Docker Paramenters">
<field name="is_travis2docker_build"/>
<field name="travis2docker_test_disable" attrs="{'invisible': [('is_travis2docker_build', '=', False)]}"/>
<field name="use_docker_cache"/>
<field name="docker_registry_server"/>
</group>
</group>
</xpath>
<field name="use_docker_cache"/>
<field name="docker_registry_server"/>
</group>
</group>
</xpath>
</field>
</record>

Expand Down

0 comments on commit 75dd58e

Please sign in to comment.