1 <?xml version="1.0" encoding="utf-8"?>
4 <template id="job_footer_custom" inherit_id="website.layout" name="Custom Footer Job">
5 <xpath expr="//body/footer//a[@href='/page/website.aboutus']" position="after">
6 <li><a href="/jobs">Jobs</a></li>
10 <template id="index" name="Jobs">
11 <t t-call="website.layout">
12 <t t-set="title">Jobs</t>
13 <div class="container">
14 <div class="page-header">
17 <t t-if="no_of_jobs > 0">
18 <t t-foreach="companies" t-as="company">
19 <div class="page-header">
20 <h2 class="text-center"><t t-field="company.name"/></h2>
25 <th><h4>Post Name</h4></th>
29 <t t-foreach="res_job" t-as="job">
30 <tr t-if="job.company_id.id==company.id">
32 <a t-att-href="'/job/detail/%%s' %% job.id"><span class="lead" t-field="job.name"/></a><br/>
33 <span t-if="job.department_id" t-esc="job.department_id.name"/><br/>
34 <i class="icon-time"></i> <span t-field="job.write_date"/><br/>
35 <span><t t-if="job.no_of_recruitment > 0"><i class="icon-group"></i> <t t-esc="job.no_of_recruitment"/></t>
36 <t t-if="job.no_of_recruitment < 1">Right now no recruitment is going on.</t>
38 <span><i class="icon-map-marker"></i> <t t-field="res_company.city"/>
39 <t t-if="res_company.state_id">
40 <t t-esc="res_company.state_id.name"/>
42 <t t-if="res_company.country_id">
43 <t t-esc="res_company.country_id.name"/>
45 <t t-if="res_company.phone">&#x2706; <t t-field="res_company.phone"/></t></span>
46 <div t-if="job.no_of_recruitment < 1">
47 <strong>You may also be interested in our others job positions, for which we don't have availabilities right now.<br/>
48 Follow the positions that interests you and we will send you an email when the position is available.</strong><br/><br/>
49 <form action="/jobs/subscribe" method="POST" class="form-inline span8" t-if="not subscribe">
50 <input placeholder="Email Address" type="email" name="email" class="input-medium"/>
51 <button type="submit" class="btn btn-primary" name="subscribe">Subscribe</button>
53 <form class="span8" action="/jobs/unsubscribe" method="POST" t-if="subscribe">
54 <div class="alert alert-success">
55 <button type="button" class="close" data-dismiss="alert">×</button>
56 <strong>Oh great!</strong> You are successfully subscribed email notifications for a <b><t t-esc="job.name"/></b> job.
58 <input type="hidden" name="email" t-att-value="subscribe"/>
59 <button type="submit" class="btn" name="unsubscribe">Unsubscribe</button>
64 <t t-call="website.publish"><t t-set="object" t-value="job"/></t>
72 <t t-if="no_of_jobs < 1">
73 <h3>"Thank you for your interest, but right now there is no job openings available in our company."</h3>
78 <template id="detail">
79 <t t-call="website.layout">
80 <t t-set="title">Job Detail</t>
81 <div class="span4 pull-right">
83 <li><a t-att-href="'/jobs'">All Jobs</a></li>
86 <div class="container">
87 <div class="page-header">
88 <h1><t t-field="job.name"/></h1>
92 <t t-if="job.description">
94 <p t-if="job.description"><t t-field="job.description"/></p>
98 <t t-call="website_hr_recruitment.applyjobpost"/>
102 <template id="applyjobpost">
103 <t t-set="title">Apply Job</t>
105 <div class="page-header">
109 <form class="form-horizontal well" action="/job/success" method="post" enctype="multipart/form-data">
111 <input type="hidden" t-att-value="job.department_id.id" name="department_id"/>
112 <input type="hidden" t-att-value="job.id" name="job_id"/>
113 <input type="hidden" t-att-value="job.name" name="name"/>
114 <div class="control-group">
115 <input type="text" class="input-xlarge" id="nametxt" name="partner_name" required="true" placeholder="Name..."/>
117 <div class="control-group">
118 <input type="email" class="input-xlarge" id="emailtxt" name="email_from" required="true" placeholder="Email..."/>
120 <div class="control-group">
121 <textarea class="span8" style="margin-top:5px; height: 140px;" name="description" placeholder="Enter your comment..."> </textarea>
123 <div class="control-group">
124 <input class="input-file" id="fileInput" type="file" name="ufile" required="true"/>
126 <div class="form-actions">
127 <button type="submit" class="btn btn-primary">Save</button>
128 <button type="reset" class="btn"><a t-att-href="'/jobs'">Cancel</a></button>
135 <template id="thankyou">
136 <t t-call="website.layout">
137 <t t-set="title">Thank You!</t>
138 <div class="span4 pull-right">
140 <li><a t-att-href="'/job/detail/%%s' %% jobid">All Jobs</a></li>
143 <section id="typography">
144 <div class="container">
146 <h2 class="oe_slogan">You have successfully applied for job.</h2>