[IMP] remove the title Job name
bzr revid: psa@tinyerp.com-20130919085918-sccfkrai1s44yvdk
This commit is contained in:
parent
8a967fd5d9
commit
d543cb31f7
|
@ -42,16 +42,12 @@ $(function () {
|
|||
return openerp.jsonRpc('/recruitment/published', 'call', {'id': id}).then(function (result) {
|
||||
if (result['published']) {
|
||||
msg.addClass('hidden');
|
||||
no_job_post.addClass('hidden');
|
||||
counting.removeClass('hidden');
|
||||
job_post.removeClass('hidden');
|
||||
counting.find('span#counting_num').html(result['count']);
|
||||
div.addClass('hidden');
|
||||
} else {
|
||||
msg.removeClass('hidden');
|
||||
no_job_post.removeClass('hidden');
|
||||
counting.addClass('hidden');
|
||||
job_post.addClass('hidden');
|
||||
div.removeClass('hidden');
|
||||
}
|
||||
});
|
||||
|
|
|
@ -35,14 +35,8 @@
|
|||
<t t-foreach="res_job" t-as="job">
|
||||
<tr t-if="job.company_id.id==company.id" t-att-id="job.id">
|
||||
<td>
|
||||
<span id="job_post" t-att-class="job.no_of_recruitment > 0 and 'show' or 'hidden'">
|
||||
<a t-att-href="'/job/detail/%%s' %% job.id"><span class="lead" t-field="job.name"/></a><br/>
|
||||
</span>
|
||||
<span id="no_job_post" t-att-class="job.no_of_recruitment < 1 and 'show' or 'hidden'">
|
||||
<div t-att-href="'/job/detail/%%s' %% job.id"><span class="lead" t-field="job.name"/></div>
|
||||
</span>
|
||||
<t t-if="job.department_id">
|
||||
<span t-field="job.department_id.name"></span>
|
||||
<a t-att-href="'/job/detail/%%s' %% job.id"><span class="lead" t-field="job.department_id.name"></span></a>
|
||||
</t><br/>
|
||||
<i class="icon-time"></i> <t t-esc="vals[job.id]['date_recruitment']"/><br/>
|
||||
<span id='counting' t-att-class="job.no_of_recruitment > 0 and 'show' or 'hidden'" style="position:absolute;">
|
||||
|
|
Loading…
Reference in New Issue