diff --git a/labonneboite/web/templates/includes/office/header.html b/labonneboite/web/templates/includes/office/header.html index dcaebc9f8..82a68046a 100644 --- a/labonneboite/web/templates/includes/office/header.html +++ b/labonneboite/web/templates/includes/office/header.html @@ -41,7 +41,7 @@

Cette entreprise recrute aussi dans votre région.

{% elif company.distance %}

{{ company.distance }} km de votre lieu de recherche - +

{% endif %} diff --git a/labonneboite/web/templates/search/results_content.html b/labonneboite/web/templates/search/results_content.html index 3cbf94916..b0d379f71 100644 --- a/labonneboite/web/templates/search/results_content.html +++ b/labonneboite/web/templates/search/results_content.html @@ -50,43 +50,46 @@

Affinez votre recherche

{{ form.h }}
-
-

Rayon de recherche

-
-
-
km
min
-
+ {% if enable_isochrones %} +
+

Rayon de recherche

+
+
+
km
min
+
+
+

{{ form.tr.label.text }}

+
+ {% for mode in travel_modes %} +
+ + Moyen de transport : {{ travel_modes_french[mode] }} + + + Moyen de transport : {{ travel_modes_french[mode] }} + +

{{ travel_modes_french[mode] }}

+
+ {% endfor %} +
+ {{ form.tr }} +
+
+

{{ form.dur.label.text }}

+ {{ form.dur }} +
+ {% endif %} {# endif enable_isochrones #} +

{{ form.d.label.text }}

{{ form.d }}
-
-

{{ form.tr.label.text }}

-
- {% for mode in travel_modes %} -
- - Moyen de transport : {{ travel_modes_french[mode] }} - - - Moyen de transport : {{ travel_modes_french[mode] }} - -

{{ travel_modes_french[mode] }}

-
- {% endfor %} -
- {{ form.tr }} -
-
-

{{ form.dur.label.text }}

- {{ form.dur }} -
+ {% if pro_version_enabled %}

@@ -164,7 +167,7 @@

Elargir aux alentours :

{% for company in companies %}
- {% with show_more_info=1 %} + {% with show_more_info=1, enable_isochrones=enable_isochrones %} {% include "includes/office/header.html" %} {% include "includes/office/content.html" %} {% endwith %}