[IMP] Minor visual improvements on kanban views.
bzr revid: vta@openerp.com-20121122091023-is5z8e0bouk2dii0
This commit is contained in:
parent
f079e012ac
commit
832d6ff615
|
@ -19,16 +19,20 @@
|
|||
<t t-name="kanban-box">
|
||||
<div class="oe_kanban_card oe_kanban_global_click">
|
||||
<div class="oe_kanban_content">
|
||||
<div class="oe_left">
|
||||
<h1><field name="name"/></h1>
|
||||
<div class="oe_portal_project_issue">
|
||||
<div><h1><field name="name"/></h1></div>
|
||||
<div class="oe_kanban_footer_left">
|
||||
<field name="partner_id"/>
|
||||
</div>
|
||||
<t t-if="record.categ_id.raw_value">
|
||||
<div class="oe_left oe_tags">
|
||||
<span class="oe_tag oe_left" t-att-data-categ_id="record.categ_id.raw_value[0]"><t t-raw="record.categ_id.raw_value[1]"/></span>
|
||||
</div>
|
||||
</t>
|
||||
<div class="oe_text_right">
|
||||
<h1><field name="stage_id" readonly="1"/></h1>
|
||||
</div>
|
||||
</div>
|
||||
<div class="oe_text_right">
|
||||
<h1><field name="stage_id" readonly="1"/></h1>
|
||||
</div>
|
||||
<div class="oe_clear"/>
|
||||
<div>
|
||||
<div class="oe_right">
|
||||
Creation: <field name="date"/>
|
||||
|
@ -54,11 +58,6 @@
|
|||
<img t-att-src="kanban_image('res.users', 'image_small', record.user_id.raw_value)" t-att-title="record.user_id.value" width="24" height="24" class="oe_kanban_avatar"/>
|
||||
</t>
|
||||
</div>
|
||||
<t t-if="record.categ_id.raw_value">
|
||||
<div class="oe_left oe_tags">
|
||||
<span class="oe_tag oe_left" t-att-data-categ_id="record.categ_id.raw_value[0]"><t t-raw="record.categ_id.raw_value[1]"/></span>
|
||||
</div>
|
||||
</t>
|
||||
</div>
|
||||
</div>
|
||||
<div class="oe_clear"/>
|
||||
|
@ -77,6 +76,7 @@
|
|||
<field name="view_id" ref="portal_crm_claim_kanban_view"/>
|
||||
<field name="context">{"search_default_user_id":'', "stage_type":'claim', "portal":'True'}</field>
|
||||
<field name="search_view_id" ref="crm_claim.view_crm_case_claims_filter"/>
|
||||
<field name="target">current</field>
|
||||
<field name="help" type="html">
|
||||
<p class="oe_view_nocontent_create">
|
||||
Click to register a new claim.
|
||||
|
|
|
@ -18,17 +18,17 @@
|
|||
<t t-name="kanban-box">
|
||||
<div class="oe_kanban_card oe_kanban_global_click">
|
||||
<div class="oe_kanban_content">
|
||||
<div class="oe_left">
|
||||
<h1><field name="name"/></h1>
|
||||
<div class="oe_portal_project_issue">
|
||||
<div><h1><field name="name"/></h1></div>
|
||||
<div class="oe_kanban_footer_left">
|
||||
<field name="partner_id" context="{'portal':1}"/> <br/>
|
||||
<field name="version_id"/>
|
||||
</div>
|
||||
<div><field name="categ_ids" widget="many2many_tags" class="oe_left"/></div>
|
||||
<div class="oe_text_right">
|
||||
<h1><field name="state" readonly="1"/></h1>
|
||||
</div>
|
||||
</div>
|
||||
<div class="oe_text_right">
|
||||
<h1><field name="state" readonly="1"/></h1>
|
||||
</div>
|
||||
<div class="oe_clear"/>
|
||||
<div>
|
||||
<div class="oe_right">
|
||||
Creation: <field name="create_date"/>
|
||||
|
@ -52,7 +52,6 @@
|
|||
</t>
|
||||
<img t-att-src="kanban_image('res.users', 'image_small', record.user_id.raw_value)" t-att-title="record.user_id.value" width="24" height="24" class="oe_kanban_avatar"/>
|
||||
</div>
|
||||
<field name="categ_ids" widget="many2many_tags" class="oe_left"/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="oe_clear"/>
|
||||
|
@ -72,6 +71,7 @@
|
|||
<field name="domain" eval=""/>
|
||||
<field name="context">{"search_default_user_id":'', "search_default_draft":'', "search_default_todo":'', "portal":'True'}</field>
|
||||
<field name="search_view_id" ref="project_issue.view_project_issue_filter"/>
|
||||
<field name="target">current</field>
|
||||
<field name="help" type="html">
|
||||
<p class="oe_view_nocontent_create">
|
||||
Click to create an issue.
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
.oe_portal_project_issue {
|
||||
width: 960px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
|
@ -10,7 +9,6 @@
|
|||
.oe_portal_project_issue .oe_fold_column.oe_kanban_record {
|
||||
float: none;
|
||||
display: block;
|
||||
width: 100%;
|
||||
border-width: 1px;
|
||||
border-radius: 4px;
|
||||
border-style: solid;
|
||||
|
@ -27,6 +25,6 @@
|
|||
|
||||
.oe_portal_project_issue .oe_fold_column.oe_kanban_record h1 {
|
||||
margin: 0;
|
||||
font-size: 1.2em;
|
||||
font-size: 1.1em;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue