[IMP] Improved kanban view of Job Position

bzr revid: chiragdd7@gmail.com-20130905113013-53tzmzoyu66ri3mw
This commit is contained in:
Chirag Dodiya (OpenERP Trainee) 2013-09-05 17:00:13 +05:30
parent dca6a4575e
commit 1f2f2c9e3d
4 changed files with 8 additions and 13 deletions

View File

@ -347,7 +347,7 @@
<label string="Job Name" class="oe_edit_only" colspan="4"/>
<h1><field name="name" class="oe_inline" nolabel="1" colspan="2"/></h1>
</div>
<div class="oe_right oe_job_button_box" name="buttons"/>
<div class="oe_right" name="buttons"/>
<group>
<group name="job_data">
<field name="department_id" class="oe_inline"/>

View File

@ -73,6 +73,3 @@
width: auto;
float: none;
}
.openerp .oe_job_button_box {
width: 24%;
}

View File

@ -416,6 +416,10 @@
<span t-if="record.application_count.value gt 1"><field name="application_count"/> Applications</span>
<span t-if="record.application_count.value lt 2"><field name="application_count"/> Application</span>
</a>
<a t-if="record.doc_count.raw_value" name="attachment_tree_view" type="object">
<span t-if="record.doc_count.raw_value gt 1"><field name="doc_count"/> Documents</span>
<span t-if="record.doc_count.raw_value lt 2"><field name="doc_count"/> Document</span>
</a>
</div>
<field state="recruit" name="no_of_recruitment" widget="justgage" options="{'label_field': 'no_of_hired_employee', 'action_change': 'action_employee_to_hire'}">Forecast</field>
</t>
@ -425,9 +429,6 @@
<img src="/hr_recruitment/static/src/img/down1.png"/>
</div>
</t>
<div class="oe_kanban_job_list">
<a t-if="record.doc_count.raw_value" name="attachment_tree_view" type="object" style="margin-right: 10px"> <field name="doc_count"/> Documents</a>
</div>
<div class="oe_launch_recruitment">
<a t-if="record.survey_id.raw_value" data-name="action_print_survey" data-type="object" class="oe_kanban_action">Print Interview</a>
<a t-if="record.survey_id.raw_value"> | </a>

View File

@ -33,15 +33,16 @@
margin-top: -5px;
}
.openerp .oe_launch_recruitment{
float: right;
float: left;
position: absolute;
bottom: 3px;
right: 10px;
left: 10px;
}
.openerp div.oe_applications {
position: absolute;;
margin-top: 16px;
font-size: 16px;
width: 108px;
}
.openerp .oe_applications > a > span:hover{
margin: 4px 0;
@ -90,7 +91,3 @@
.openerp .oe_job_messages{
margin-top: 40px !important;
}
.openerp .oe_kanban_job_list > a:hover{
margin: 4px 0;
text-decoration: underline !important;
}