[UPD] Re-organize Git settings form
This commit is contained in:
@@ -4,19 +4,17 @@
|
||||
<field name="name">res.config.settings.view.form.inherit.github</field>
|
||||
<field name="model">res.config.settings</field>
|
||||
<field name="priority" eval="99" />
|
||||
<field name="inherit_id" ref="base.res_config_settings_view_form" />
|
||||
<field name="inherit_id" ref="dev_git_project_task_connector.res_config_settings_view_form_git" />
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//div[hasclass('settings')]" position="inside">
|
||||
<div class="app_settings_block" data-string="github" string="Github" data-key="dev_github_connector">
|
||||
<h2>Github configuration</h2>
|
||||
<div class="row mt16 o_settings_container" id="github_settings">
|
||||
<div class="col-12 col-lg-6 o_setting_box" id="github_tokenl">
|
||||
<div class="o_setting_left_pane" />
|
||||
<div class="o_setting_right_pane">
|
||||
<span class="o_form_label">Github token</span>
|
||||
<div class="text-muted">
|
||||
<field name="github_token" widget="password" />
|
||||
</div>
|
||||
<xpath expr="//div[@id='git_generic_settings']" position="after">
|
||||
<h2>Github configuration</h2>
|
||||
<div class="row mt16 o_settings_container" id="github_settings">
|
||||
<div class="col-12 col-lg-6 o_setting_box" id="github_tokenl">
|
||||
<div class="o_setting_left_pane" />
|
||||
<div class="o_setting_right_pane">
|
||||
<span class="o_form_label">Github token</span>
|
||||
<div class="text-muted">
|
||||
<field name="github_token" widget="password" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user