[IMP] Improved kanban view of Job Position
authorChirag Dodiya (OpenERP Trainee) <chiragdd7@gmail.com>
Thu, 5 Sep 2013 11:30:13 +0000 (17:00 +0530)
committerChirag Dodiya (OpenERP Trainee) <chiragdd7@gmail.com>
Thu, 5 Sep 2013 11:30:13 +0000 (17:00 +0530)
bzr revid: chiragdd7@gmail.com-20130905113013-53tzmzoyu66ri3mw

addons/hr/hr_view.xml
addons/hr/static/src/css/hr.css
addons/hr_recruitment/hr_recruitment_view.xml
addons/hr_recruitment/static/src/css/job_position.css

index 267aace..097f106 100644 (file)
                             <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"/>
index f1f00bf..951ec4d 100644 (file)
@@ -73,6 +73,3 @@
   width: auto;
   float: none;
 }
-.openerp .oe_job_button_box {
-  width: 24%;
-}
index 0e8f724..7b1f969 100644 (file)
                                                 <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>
                                             <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>
index a9a1226..a37d60f 100644 (file)
     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;
-}