[IMP] Improved kanban view of Job Position
authorChirag Dodiya (OpenERP Trainee) <chiragdd7@gmail.com>
Thu, 5 Sep 2013 12:33:34 +0000 (18:03 +0530)
committerChirag Dodiya (OpenERP Trainee) <chiragdd7@gmail.com>
Thu, 5 Sep 2013 12:33:34 +0000 (18:03 +0530)
bzr revid: chiragdd7@gmail.com-20130905123334-lim1brk1av4lydqu

addons/hr_recruitment/hr_recruitment_view.xml
addons/hr_recruitment/static/src/css/job_position.css
addons/hr_recruitment/static/src/img/down1.png

index 7b1f969..69512ef 100644 (file)
                                         <div class="oe_job oe_name oe_kanban_ellipsis">
                                             <field name="name"/>
                                         </div>
-                                        <div class="oe_job_alias oe_kanban_ellipsis" t-if=" record.alias_id.value and record.state.raw_value == 'recruit'">
-                                            <span class="oe_e">%%</span><small><field name="alias_id"/></small>
-                                        </div>
                                         <div class="oe_job oe_department">
                                             <field name="department_id"/>
                                             <span t-if="record.manager_id.value" class="oe_manager_name">
                                                 (<t t-esc="record.manager_id.value"/>)
                                             </span>
                                         </div>
+                                        <div class="oe_job_alias oe_kanban_ellipsis" t-if=" record.alias_id.value and record.state.raw_value == 'recruit'">
+                                            <span class="oe_e">%%</span><small><field name="alias_id"/></small>
+                                        </div>
                                         
                                     </div>
                                     <t t-if="record.state.raw_value == 'recruit'">
                                     </t>
                                     <t t-if="record.state.raw_value == 'open'">
                                         <div class="oe_start_recruitment">
-                                            <p>To start the recruitment, <b>click here</b></p>
+                                            <p><b>click here</b>, To start the recruitment</p>
                                             <img src="/hr_recruitment/static/src/img/down1.png"/>
                                         </div>
                                     </t>
                                     <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>
                                         <a t-if="record.state.raw_value == 'open'" data-name="job_recruitment" data-type="object" class="oe_kanban_action">Launch Recruitment</a>
                                         <a t-if="record.state.raw_value == 'recruit'" data-name="job_open" data-type="object" class="oe_kanban_action">Recruitment Done</a>
+                                        <a t-if="record.survey_id.raw_value"> | </a>
+                                        <a t-if="record.survey_id.raw_value" data-name="action_print_survey" data-type="object" class="oe_kanban_action">Print Interview</a>
                                     </div>
                                     <div class="oe_kanban_footer_left oe_job_messages">
                                         <t t-raw="record.message_summary.raw_value"/>
index a37d60f..91696c9 100644 (file)
     height:130px;
 }
 .openerp .oe_department {
-    height: 44px !important;
     width: 358px;
     overflow: hidden;
     text-overflow: ellipsis;
     white-space: wrap;
 }
 .openerp .oe_new_recruitment {
-    margin-top: 4px;
+    margin-top: 4px;-+
     color: #4c4c4c;
 }
 .openerp .oe_start_recruitment {
-    padding-top: 22px;
+    padding-top: 10px;
 }
 .openerp .oe_start_recruitment p {
     font-size: 14px;
     color: gray;
+    padding-left: 50px;
 }
 .openerp .oe_start_recruitment img {
-    margin-top: -24px;
+    margin-top: -22px;
     width: 32px;
-    height: 32px;
-    float: right;
-    padding-right: 88px;
+    height: 34px;
+    float: left;
+    padding-left: 12px;
 }
 .openerp .oe_job_messages{
     margin-top: 40px !important;
index 31538d0..b97f343 100644 (file)
Binary files a/addons/hr_recruitment/static/src/img/down1.png and b/addons/hr_recruitment/static/src/img/down1.png differ