[IMP]Removed subscribe code from job lists.
bzr revid: bth@tinyerp.com-20130919131245-j55fwwz8f0l6xpqh
This commit is contained in:
parent
beaf87c631
commit
3b1152d393
|
@ -40,7 +40,11 @@
|
|||
<td>
|
||||
<t t-if="job.department_id">
|
||||
<a t-att-href="'/job/detail/%%s' %% job.id"><span class="lead" t-field="job.department_id.name"></span></a>
|
||||
</t><br/>
|
||||
</t>
|
||||
<t t-if="not job.department_id">
|
||||
<a t-att-href="'/job/detail/%%s' %% job.id"><span class="lead" t-field="job.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;">
|
||||
<i class="icon-group"></i> No.of Post:
|
||||
|
@ -60,27 +64,6 @@
|
|||
<span t-field="res_company.country_id.name"></span>
|
||||
</t><br/>
|
||||
<t t-if="res_company.phone">&#x2706; <t t-field="res_company.phone"/></t></span>
|
||||
<div t-att-id="job.id">
|
||||
<div class="subscribedetails" t-att-class="job.no_of_recruitment < 1 and 'show' or 'hidden'">
|
||||
<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/>
|
||||
<div class="col-md-4 col-sm-8">
|
||||
<input placeholder="Email Address" type="email" name="email" class="form-control"/>
|
||||
</div>
|
||||
<button class="btn btn-primary" name="subscribe">Subscribe</button>
|
||||
<input type="hidden" name="recid" t-att-value="job.id"/>
|
||||
<input type="hidden" name="group_id" t-att-value="%(website_hr_recruitment.website_mail_jobs)d"/>
|
||||
</div>
|
||||
<div class="hidden">
|
||||
<div class="alert alert-dismissable alert-success">
|
||||
<button type="button" class="close" data-dismiss="alert">x</button>
|
||||
<strong>Oh great!</strong> You are successfully subscribed email notifications for a <a t-att-href="'/job/detail/%%s' %% job.id" class="alert-link"><t t-esc="job.name"/></a> job.
|
||||
</div>
|
||||
<input type="hidden" name="email"/>
|
||||
<input type="hidden" name="group_id" t-att-value="%(website_hr_recruitment.website_mail_jobs)d"/>
|
||||
<button type="submit" class="btn" name="unsubscribe">Unsubscribe</button>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
<td><t t-call="website.publish"><t t-set="object" t-value="job"/></t></td>
|
||||
</tr>
|
||||
|
|
Loading…
Reference in New Issue