[IMP]usability improvements
bzr revid: vja@tinyerp.com-20130517060757-kispsuailcf7qx6h
This commit is contained in:
parent
9bd2299a69
commit
a231356ba3
|
@ -364,13 +364,18 @@
|
|||
<div class="oe_job oe_kanban_ellipsis"><field name="department_id"/></div>
|
||||
<img t-if="record.department_id.raw_value" t-att-src="kanban_image('hr.employee', 'image_small', widget.values.manager_id.value.id)" t-att-title="record.manager_id.value.name" class="oe_kanban_avatar"/>
|
||||
<div class="oe_name"><t t-esc="record.manager_id.value.name"/></div>
|
||||
<div style="margin-top:25px;margin-bottom:7px;"><t t-esc="Math.round(record.no_of_recruitment.raw_value)"/> Expected in Recruitment</div>
|
||||
<div class="oe_application">
|
||||
<span t-if="widget.values.priority_count.value.total_application gt 1"><t t-esc="Math.round(widget.values.priority_count.value.total_application)"/> Applications</span>
|
||||
<span t-if="widget.values.priority_count.value.total_application lt 2"><t t-esc="Math.round(widget.values.priority_count.value.total_application)"/> Application</span>
|
||||
</div>
|
||||
<t t-if="!widget.values.no_of_recruitment.value lt 1">
|
||||
<div class="oe_application">
|
||||
<span t-if="widget.values.priority_count.value.total_application gt 1"><t t-esc="Math.round(widget.values.priority_count.value.total_application)"/> Applications</span>
|
||||
<span t-if="widget.values.priority_count.value.total_application lt 2"><t t-esc="Math.round(widget.values.priority_count.value.total_application)"/> Application</span>
|
||||
</div>
|
||||
<div style="margin-top: 6px;color: #4c4c4c;"><t t-esc="Math.round(record.no_of_recruitment.raw_value)"/> Expected in Recruitment</div>
|
||||
</t>
|
||||
</a>
|
||||
<div class="oe_kanban_footer_left oe_job_message"><t t-raw="record.message_summary.raw_value"/></div>
|
||||
<t t-if="widget.values.no_of_recruitment.value lt 1">
|
||||
<div style="padding-top: 10px;"><p>To start a recruitment phase for this job position,<b>click here</b></p><img src="/hr_recruitment/static/src/img/down1.png" style="margin-top: -24px; width: 22px;height: 22px;float: right;padding-right: 88px;"/> </div>
|
||||
</t>
|
||||
</div>
|
||||
</div>
|
||||
</t>
|
||||
|
|
|
@ -25,6 +25,10 @@
|
|||
margin: 4px 0;
|
||||
text-decoration: underline
|
||||
}
|
||||
.openerp div.oe_application {
|
||||
margin-top: 24px;
|
||||
}
|
||||
|
||||
.openerp .oe_name {
|
||||
margin-left: 44px;
|
||||
margin-top: -18px;
|
||||
|
|
Loading…
Reference in New Issue