[IMP] Removed 'section' and improved code.

bzr revid: psa@tinyerp.com-20130812103254-uziu09v5thp0lahu
This commit is contained in:
Paramjit Singh Sahota 2013-08-12 16:02:54 +05:30
parent 6d4c50e3e7
commit 9b3560e589
1 changed files with 23 additions and 25 deletions

View File

@ -17,34 +17,32 @@
<t t-call="website.layout">
<t t-set="title">Jobs</t>
<div class="container">
<section id="tables">
<div class="page-header">
<h1>Job Position</h1>
</div>
<t t-foreach="companies" t-as="company">
<div class="page-header">
<h1>Job Position</h1>
<h1 class="text-center"><t t-esc="company.name"/></h1>
</div>
<t t-foreach="companies" t-as="company">
<div class="page-header">
<h1 class="text-center"><t t-esc="company.name"/></h1>
</div>
<table class="table">
<thead>
<tr>
<th>Post Name</th>
<table class="table">
<thead>
<tr>
<th>Post Name</th>
</tr>
</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/>
<span t-if="job.department_id" t-esc="job.department_id.name"/>
<span t-esc="job.post_date"/>
</td>
</tr>
</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/>
<span t-if="job.department_id"><t t-field="job.department_id.name"/></span>
<span t-esc="job.post_date"/>
</td>
</tr>
</t>
</tbody>
</table>
</t>
</section>
</t>
</tbody>
</table>
</t>
</div>
</t>
</template>