Added write_date and added icon of map-maker in place of Location & icon group in place of Job Position.

bzr revid: psa@tinyerp.com-20130814123327-o2hrf45poz5neexq
This commit is contained in:
Paramjit Singh Sahota 2013-08-14 18:03:27 +05:30
parent 153c8290fc
commit f5fa8852a8
2 changed files with 12 additions and 2 deletions

View File

@ -0,0 +1,10 @@
# -*- coding: utf-8 -*-
from openerp.osv import osv, fields
# defined for access rules
class hr_job(osv.osv):
_inherit = "hr.job"
_columns = {
'write_date': fields.datetime('Update Date', readonly=True),
}

View File

@ -32,8 +32,8 @@
<a t-att-href="'/job/detail/%%s' %% job.id"><span class="lead" t-field="job.name"/></a><br/>
<span t-if="job.department_id" t-esc="job.department_id.name"/><br/>
<i class="icon-time"></i> <span t-esc="job.write_date"/><br/>
<span><t t-if="job.no_of_recruitment &gt; 0">No of Position: <t t-esc="job.no_of_recruitment"/></t><t t-if="job.no_of_recruitment &lt; 1">Right now no recruitment is going on.</t></span><br/>
<span><t t-if="job.no_of_recruitment &gt; 0">Location: <t t-esc="res_company.city+','"/> <t t-esc="res_company.state_id.name+','"/> <t t-esc="res_company.country_id.name"/><br/>
<span><t t-if="job.no_of_recruitment &gt; 0"><i class="icon-group"></i> <t t-esc="job.no_of_recruitment"/></t><t t-if="job.no_of_recruitment &lt; 1">Right now no recruitment is going on.</t></span><br/>
<span><t t-if="job.no_of_recruitment &gt; 0"><i class="icon-map-marker"></i> <t t-esc="res_company.city"/> <t t-esc="res_company.state_id.name"/> <t t-esc="res_company.country_id.name"/><br/>
&amp;#x2706; <t t-esc="res_company.phone"/></t></span>
<div t-if="job.no_of_recruitment &lt; 1">
<strong>You may also be interested in our others job positions, for which we don't have availabilities right now.<br/>