[IMP] Job Announces

bzr revid: fp@openerp.com-20130929213721-ytbpd16l00lfjdd2
This commit is contained in:
Fabien Pinckaers 2013-09-29 23:37:21 +02:00
parent 15acb82c95
commit 395310b276
2 changed files with 17 additions and 18 deletions

View File

@ -50,5 +50,22 @@ Additional ressources
<field name="relation_field">category_id</field>
</record>
<!-- Mail group for the company's jobs -->
<record id="blog_category_2" model="blog.category">
<field name="name">Jobs</field>
<field name="description">Job Announces</field>
</record>
<!-- Layout add nav and footer -->
<template id="footer_custom" inherit_option_id="website.layout" name="Job Announces">
<xpath expr="//footer//div[@name='info']/ul" position="inside">
<li><a t-href="/blog/%(website_blog.blog_category_2)d/">Jobs</a></li>
</xpath>
</template>
</data>
</openerp>

View File

@ -1,25 +1,7 @@
<?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_option_id="website.layout" name="Job Announces">
<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" name="Our Team">
<xpath expr="//div[@id='aboutus']" position="inside">