diff options
| author | Jérome Maes <jem@openerp.com> | 2015-02-03 13:40:30 +0100 |
|---|---|---|
| committer | Jérome Maes <jem@openerp.com> | 2015-02-04 15:24:48 +0100 |
| commit | 68cc737247bcfb9737d8a428a72c99ca067bf593 (patch) | |
| tree | eda35fd4568479f365700b44aa3105abb5e60d30 /addons/project_issue/project_issue_view.xml | |
| parent | 803778d9b47e0f89c5d88e438e32658a9e1e0b19 (diff) | |
[IMP] project, project_issue, project_timesheet, rating_project : refactoring of the kanban project. Now using bootstrap, and better disposition of module elements.
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> |
