[IMP] website_hr multilang
bzr revid: fme@openerp.com-20130926151136-x6zrixi7lmxxadgi
This commit is contained in:
@@ -6,7 +6,7 @@ from openerp.addons.website import website
|
||||
|
||||
class website_hr(http.Controller):
|
||||
|
||||
@website.route(['/page/website.aboutus'], type='http', auth="public")
|
||||
@website.route(['/page/website.aboutus'], type='http', auth="public", multilang=True)
|
||||
def blog(self, **post):
|
||||
hr_obj = request.registry['hr.employee']
|
||||
employee_ids = hr_obj.search(request.cr, request.uid, [(1, "=", 1)],
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
|
||||
<template id="footer_custom" inherit_id="website.layout" name="Custom Footer">
|
||||
<xpath expr="//footer//div[@name='info']/ul" position="inside">
|
||||
<li><a href="/blog/%(website_hr.website_mail_job)d/">Jobs</a></li>
|
||||
<li><a t-href="/blog/%(website_hr.website_mail_job)d/">Jobs</a></li>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user