[FIX] website_hr_recruitement: typo
authorJeremy Kersten <jke@odoo.com>
Mon, 15 Sep 2014 13:50:16 +0000 (15:50 +0200)
committerJeremy Kersten <jke@odoo.com>
Mon, 15 Sep 2014 13:50:16 +0000 (15:50 +0200)
addons/website_crm/controllers/main.py
addons/website_hr_recruitment/views/templates.xml

index 4aa76be..76c4af7 100644 (file)
@@ -8,6 +8,7 @@ from openerp import http, SUPERUSER_ID
 from openerp.http import request
 from openerp.tools.translate import _
 
+
 class contactus(http.Controller):
 
     def generate_google_map_url(self, street, city, city_zip, country_name):
@@ -91,9 +92,6 @@ class contactus(http.Controller):
             post_description.append("%s: %s" % ("REFERER", environ.get("HTTP_REFERER")))
             values['description'] += dict_to_str(_("Environ Fields: "), post_description)
 
-
-
-
         lead_id = self.create_lead(request, dict(values, user_id=False), kwargs)
         values.update(lead_id=lead_id)
         if lead_id:
index 4728089..1695447 100644 (file)
 <template id="job_countries" inherit_id="website_hr_recruitment.index" active="False" customize_show="True" name="Filter by Countries">
     <xpath expr="//div[@id='jobs_grid_left']" position="inside">
         <ul class="nav nav-pills nav-stacked mb32">
-            <li t-att-class=" '' if country_id else 'active' "><a t-attf-href="/jobs#{ '/country/all/department/%s' % slug(department_id) if department_id else '' }#{ '/office/%s' % office_id if office_id else '' }?all_country=1">All Countries</a></li>
+            <li t-att-class=" '' if country_id else 'active' "><a t-attf-href="/jobs#{ '/department/%s' % slug(department_id) if department_id else '' }#{ '/office/%s' % office_id if office_id else '' }?all_country=1">All Countries</a></li>
             <t t-foreach="countries" t-as="country">
                 <li t-att-class="'active' if country_id and country_id.id == country.id else ''">
                     <a t-attf-href="/jobs/country/#{ slug(country) }#{ '/department/%s' % slug(department_id) if department_id else '' }#{ '/office/%s' % office_id if office_id else '' }" ><span t-field="country.name"/></a>