2013-07-30 11:19:10 +00:00
<?xml version="1.0" encoding="utf-8"?>
<openerp >
<data >
2013-08-14 12:07:06 +00:00
<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>
</template>
2013-08-12 11:07:01 +00:00
2013-08-14 12:07:06 +00:00
<template id= "index" name= "Jobs" >
2013-07-30 11:19:10 +00:00
<t t-call= "website.layout" >
2013-08-12 10:01:13 +00:00
<t t-set= "title" > Jobs</t>
2013-07-30 11:19:10 +00:00
<div class= "container" >
2013-08-12 10:32:54 +00:00
<div class= "page-header" >
<h1 > Job Position</h1>
</div>
2013-08-13 13:38:30 +00:00
<t t-if= "no_of_jobs > 0" >
<t t-foreach= "companies" t-as= "company" >
<div class= "page-header" >
<h2 class= "text-center" > <t t-field= "company.name" /> </h2>
</div>
<table class= "table" >
<thead >
<tr >
<th > <h4 > Post Name</h4> </th>
2013-07-30 11:19:10 +00:00
</tr>
2013-08-13 13:38:30 +00:00
</thead>
<tbody >
<t t-foreach= "res_job" t-as= "job" >
<tr t-if= "job.company_id.id==company.id" >
<td >
<a t-att-href= "'/job/detail/%%s' %% job.id" > <span class= "lead" t-field= "job.name" /> </a> <br />
2013-08-14 12:07:06 +00:00
<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 />
2013-08-14 12:33:27 +00:00
<span > <t t-if= "job.no_of_recruitment > 0" > <i class= "icon-group" > </i> <t t-esc= "job.no_of_recruitment" /> </t> <t t-if= "job.no_of_recruitment < 1" > Right now no recruitment is going on.</t> </span> <br />
<span > <t t-if= "job.no_of_recruitment > 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 />
2013-08-13 13:38:30 +00:00
& #x2706; <t t-esc= "res_company.phone" /> </t> </span>
2013-08-14 12:07:06 +00:00
<div t-if= "job.no_of_recruitment < 1" >
2013-08-13 13:38:30 +00:00
<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 />
<form action= "/jobs/subscribe" method= "POST" class= "form-inline span8" t-if= "not subscribe" >
<input placeholder= "Email Address" type= "email" name= "email" class= "input-medium" />
<button type= "submit" class= "btn btn-primary" name= "subscribe" > Subscribe</button>
</form>
<form class= "span8" action= "/jobs/unsubscribe" method= "POST" t-if= "subscribe" >
<div class= "alert alert-success" >
<button type= "button" class= "close" data-dismiss= "alert" > × </button>
<strong > Oh great!</strong> You are successfully subscribed email notifications for a <b > <t t-esc= "job.name" /> </b> job.
</div>
<input type= "hidden" name= "email" t-att-value= "subscribe" />
<button type= "submit" class= "btn" name= "unsubscribe" > Unsubscribe</button>
</form>
</div>
</td>
<td >
2013-08-14 12:07:06 +00:00
<!-- <t t - call="website.publish"><t t - set="object" t - value="job_id"/></t> -->
2013-08-13 13:38:30 +00:00
</td>
</tr>
</t>
</tbody>
</table>
</t>
</t>
<t t-if= "no_of_jobs < 1" >
2013-08-16 10:34:29 +00:00
<h3 > "Thank you for your interest, but right now there is no job openings available in our company."</h3>
2013-08-12 10:32:54 +00:00
</t>
2013-07-30 11:19:10 +00:00
</div>
</t>
</template>
<template id= "detail" >
<t t-call= "website.layout" >
<t t-set= "title" > Job Detail</t>
<div class= "span4 pull-right" >
<ul class= "pager" >
2013-08-12 11:08:37 +00:00
<li > <a t-att-href= "'/jobs'" > All Jobs</a> </li>
2013-07-30 11:19:10 +00:00
</ul>
</div>
2013-08-01 09:03:43 +00:00
<div class= "container" >
2013-07-30 11:19:10 +00:00
<div class= "page-header" >
2013-08-12 10:20:15 +00:00
<h1 > <t t-field= "job.name" /> </h1>
2013-07-30 11:19:10 +00:00
</div>
<div class= "row" >
<div class= "span12" >
2013-08-12 10:42:32 +00:00
<t t-if= "job.description" >
<h3 > Description</h3>
2013-08-13 13:38:30 +00:00
<p t-if= "job.description" > <t t-field= "job.description" /> </p>
2013-08-12 10:42:32 +00:00
</t>
2013-07-30 11:19:10 +00:00
</div>
</div>
2013-08-01 09:03:43 +00:00
<t t-call= "website_hr_recruitment.applyjobpost" />
</div>
2013-07-30 11:19:10 +00:00
</t>
</template>
<template id= "applyjobpost" >
<t t-set= "title" > Apply Job</t>
<section id= "forms" >
<div class= "page-header" >
<h1 > Apply</h1>
</div>
<div class= "row" >
<form class= "form-horizontal well" action= "/job/success" method= "post" enctype= "multipart/form-data" >
<fieldset >
<input type= "hidden" t-att-value= "job.department_id.id" name= "department_id" />
<input type= "hidden" t-att-value= "job.id" name= "job_id" />
<input type= "hidden" t-att-value= "job.name" name= "name" />
<div class= "control-group" >
2013-08-01 12:58:57 +00:00
<input type= "text" class= "input-xlarge" id= "nametxt" name= "partner_name" required= "true" placeholder= "Name..." />
2013-07-30 11:19:10 +00:00
</div>
<div class= "control-group" >
2013-08-16 10:34:29 +00:00
<input type= "email" class= "input-xlarge" id= "emailtxt" name= "email_from" required= "true" placeholder= "Email..." />
2013-07-30 11:19:10 +00:00
</div>
<div class= "control-group" >
2013-08-01 09:03:43 +00:00
<textarea class= "span8" style= "margin-top:5px; height: 140px;" name= "description" placeholder= "Enter your comment..." > </textarea>
2013-07-30 11:19:10 +00:00
</div>
<div class= "control-group" >
2013-08-01 12:58:57 +00:00
<input class= "input-file" id= "fileInput" type= "file" name= "ufile" required= "true" />
</div>
2013-07-30 11:19:10 +00:00
<div class= "form-actions" >
<button type= "submit" class= "btn btn-primary" > Save</button>
2013-08-12 10:01:13 +00:00
<button type= "reset" class= "btn" > <a t-att-href= "'/jobs'" > Cancel</a> </button>
2013-07-30 11:19:10 +00:00
</div>
</fieldset>
</form>
</div>
</section>
</template>
<template id= "thankyou" >
<t t-call= "website.layout" >
<t t-set= "title" > Thank You!</t>
<div class= "span4 pull-right" >
<ul class= "pager" >
2013-08-13 13:38:30 +00:00
<li > <a t-att-href= "'/job/detail/%%s' %% jobid" > All Jobs</a> </li>
2013-07-30 11:19:10 +00:00
</ul>
</div>
<section id= "typography" >
<div class= "container" >
<div class= "row" >
<h2 class= "oe_slogan" > You have successfully applied for job.</h2>
</div>
</div>
</section>
</t>
</template>
</data>
</openerp>