49 lines
1.7 KiB
XML
49 lines
1.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<openerp>
|
|
<data>
|
|
|
|
<!-- Mail group for the company's jobs -->
|
|
|
|
<record id="website_mail_job" model="mail.group">
|
|
<field name="name">Job</field>
|
|
<field name="public">public</field>
|
|
<field name="description">Job offer displayed on your website</field>
|
|
</record>
|
|
|
|
<!-- Layout add nav and footer -->
|
|
|
|
<template id="footer_custom" inherit_id="website.layout" name="Jobs">
|
|
<xpath expr="//footer//div[@name='info']/ul" position="inside">
|
|
<li><a t-href="/blog/%(website_hr.website_mail_job)d/">Jobs</a></li>
|
|
</xpath>
|
|
</template>
|
|
|
|
<!-- Page -->
|
|
|
|
|
|
<template id="aboutus" inherit_id="website.aboutus">
|
|
<xpath expr="//div[@id='aboutus']" position="inside">
|
|
<t t-set="head">
|
|
<link rel='stylesheet' href='/website_hr/static/src/css/website_hr.css'/>
|
|
<t t-raw="head or ''"/>
|
|
</t>
|
|
<div class="clearfix"/>
|
|
<div class="col-sm-12 text-center" t-if="len(employee_ids)">
|
|
<h2>Our Team</h2>
|
|
</div>
|
|
<div t-foreach="employee_ids" t-as="employee" class="col-sm-3 col-lg-2 mt16 text-center colsize">
|
|
<t t-call="website.publish_management"><t t-set="object" t-value="employee"/></t>
|
|
<div class="clearfix"/>
|
|
<img t-att-src="employee.img('image_medium')" class="img shadow img-rounded"/>
|
|
<div class="mt8">
|
|
<strong t-field="employee.name"></strong>
|
|
</div>
|
|
<div t-field="employee.job_id"/>
|
|
<div t-field="employee.public_info" class="text-muted mt16"/>
|
|
</div>
|
|
</xpath>
|
|
</template>
|
|
|
|
</data>
|
|
</openerp>
|