diff options
Diffstat (limited to 'addons/project_issue/project_issue_view.xml')
| -rw-r--r-- | addons/project_issue/project_issue_view.xml | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/addons/project_issue/project_issue_view.xml b/addons/project_issue/project_issue_view.xml index ca2a6f86234..7214f7222be 100644 --- a/addons/project_issue/project_issue_view.xml +++ b/addons/project_issue/project_issue_view.xml @@ -349,17 +349,19 @@ <field name="use_issues"/> <field name="issue_ids" invisible="1"/> </field> - <xpath expr="//div[contains(@class, 'oe_kanban_project_list')]/a" position="after"> - <a t-if="record.use_issues.raw_value" style="margin-right: 20px" class="pull-right" - name="%(act_project_project_2_project_issue_all)d" type="action"> - <t t-raw="record.issue_ids.raw_value.length"/> <field name="label_issues"/> - <field name="monthly_issues" widget="sparkline_bar" options="{'delayIn': '1000'}"> - Closed Issues - </field> - </a> + <xpath expr="//div[contains(@class, 'oe_kanban_project_list')]/div" position="after"> + <div class="col-md-6"> + <a t-if="record.use_issues.raw_value" name="%(act_project_project_2_project_issue_all)d" type="action"> + <t t-raw="record.issue_ids.raw_value.length"/> + <field name="label_issues"/> + <field name="monthly_issues" widget="sparkline_bar" options="{'delayIn': '1000'}"> + Closed Issues + </field> + </a> + </div> </xpath> - <xpath expr="//div[contains(@class, 'oe_kanban_project_list')]/div" position="replace"> - <div t-if="!(record.use_tasks.raw_value and record.task_count.raw_value gt 0) and !(record.use_issues.raw_value and record.issue_ids.raw_value.length gt 0)" style="margin-top: 6px;margin-left:20px;"> + <xpath expr="//div[contains(@class, 'oe_kanban_project_list')]/div[contains(@class, 'col-md-12')]" position="replace"> + <div t-if="!(record.use_tasks.raw_value and record.task_count.raw_value gt 0) and !(record.use_issues.raw_value and record.issue_ids.raw_value.length gt 0)" class="col-md-12"> <img src="/project/static/src/img/top_left_arrow.png" style="margin-top: -8px; width: 22px;" /> <span>No activity yet, click to enter in the project.</span> </div> |
