[IMP]IMproved code.

bzr revid: bth@tinyerp.com-20130816104141-w023j5j62ljpsxgm
This commit is contained in:
bth-openerp 2013-08-16 16:11:41 +05:30
parent a452a8922a
commit 07d4f97085
1 changed files with 14 additions and 6 deletions

View File

@ -2,8 +2,8 @@
<openerp>
<data>
<template id="job_footer_custom" inherit_id="website.layout" name="Custom Footer Job">
<xpath expr="//body/footer//h5[@name='info_title']" position="after">
<a href="/jobs">Jobs</a>
<xpath expr="//body/footer//a[@href='/page/website.aboutus']" position="after">
<li><a href="/jobs">Jobs</a></li>
</xpath>
</template>
@ -31,10 +31,18 @@
<td>
<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"><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>
<i class="icon-time"></i> <span t-field="job.write_date"/><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><i class="icon-map-marker"></i> <t t-field="res_company.city"/>
<t t-if="res_company.state_id">
<t t-esc="res_company.state_id.name"/>
</t>
<t t-if="res_company.country_id">
<t t-esc="res_company.country_id.name"/>
</t><br/>
<t t-if="res_company.phone">&amp;#x2706; <t t-field="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/>
Follow the positions that interests you and we will send you an email when the position is available.</strong><br/><br/>