diff --git a/padelnomics/src/padelnomics/leads/templates/partials/quote_step_1.html b/padelnomics/src/padelnomics/leads/templates/partials/quote_step_1.html index 23fd2b0..708bde2 100644 --- a/padelnomics/src/padelnomics/leads/templates/partials/quote_step_1.html +++ b/padelnomics/src/padelnomics/leads/templates/partials/quote_step_1.html @@ -17,7 +17,7 @@
{{ t.q1_facility_label }} * - {% if 'facility_type' in errors %}

{% if lang == 'de' %}Bitte wähle einen Anlagentyp{% else %}Please select a facility type{% endif %}

{% endif %} + {% if 'facility_type' in errors %}

{{ t.q1_error_facility }}

{% endif %}
{% for val, label in [('indoor', t.q1_facility_indoor), ('outdoor', t.q1_facility_outdoor), ('both', t.q1_facility_both)] %} @@ -57,7 +57,7 @@
{{ steps[step - 1].title }} - {% if lang == 'de' %}Schritt {{ step }} von {{ steps|length }}{% else %}{{ step }} of {{ steps|length }}{% endif %} + {{ t.q_step_counter | tformat(step=step, total=steps|length) }}
diff --git a/padelnomics/src/padelnomics/leads/templates/partials/quote_step_2.html b/padelnomics/src/padelnomics/leads/templates/partials/quote_step_2.html index a2ff457..882d9e3 100644 --- a/padelnomics/src/padelnomics/leads/templates/partials/quote_step_2.html +++ b/padelnomics/src/padelnomics/leads/templates/partials/quote_step_2.html @@ -14,7 +14,7 @@
- {% if 'country' in errors %}

{% if lang == 'de' %}Bitte wähle ein Land{% else %}Please select a country{% endif %}

{% endif %} + {% if 'country' in errors %}

{{ t.q2_error_country }}

{% endif %} {{ label }} @@ -33,7 +33,7 @@
{{ steps[step - 1].title }} - {% if lang == 'de' %}Schritt {{ step }} von {{ steps|length }}{% else %}{{ step }} of {{ steps|length }}{% endif %} + {{ t.q_step_counter | tformat(step=step, total=steps|length) }}
diff --git a/padelnomics/src/padelnomics/leads/templates/partials/quote_step_6.html b/padelnomics/src/padelnomics/leads/templates/partials/quote_step_6.html index d259f08..bd80951 100644 --- a/padelnomics/src/padelnomics/leads/templates/partials/quote_step_6.html +++ b/padelnomics/src/padelnomics/leads/templates/partials/quote_step_6.html @@ -45,7 +45,7 @@
{{ steps[step - 1].title }} - {% if lang == 'de' %}Schritt {{ step }} von {{ steps|length }}{% else %}{{ step }} of {{ steps|length }}{% endif %} + {{ t.q_step_counter | tformat(step=step, total=steps|length) }}
diff --git a/padelnomics/src/padelnomics/leads/templates/partials/quote_step_7.html b/padelnomics/src/padelnomics/leads/templates/partials/quote_step_7.html index b96e87a..c3f17f5 100644 --- a/padelnomics/src/padelnomics/leads/templates/partials/quote_step_7.html +++ b/padelnomics/src/padelnomics/leads/templates/partials/quote_step_7.html @@ -9,7 +9,7 @@
{{ t.q7_role_label }} * - {% if 'stakeholder_type' in errors %}

{% if lang == 'de' %}Bitte wähle Deine Rolle{% else %}Please select your role{% endif %}

{% endif %} + {% if 'stakeholder_type' in errors %}

{{ t.q7_error_role }}

{% endif %}
{% for val, label in [('entrepreneur', t.q7_role_entrepreneur), ('tennis_club', t.q7_role_tennis), ('municipality', t.q7_role_municipality), ('developer', t.q7_role_developer), ('operator', t.q7_role_operator), ('architect', t.q7_role_architect)] %} @@ -37,7 +37,7 @@
{{ steps[step - 1].title }} - {% if lang == 'de' %}Schritt {{ step }} von {{ steps|length }}{% else %}{{ step }} of {{ steps|length }}{% endif %} + {{ t.q_step_counter | tformat(step=step, total=steps|length) }}
diff --git a/padelnomics/src/padelnomics/leads/templates/partials/quote_step_8.html b/padelnomics/src/padelnomics/leads/templates/partials/quote_step_8.html index 61096c1..dde4b20 100644 --- a/padelnomics/src/padelnomics/leads/templates/partials/quote_step_8.html +++ b/padelnomics/src/padelnomics/leads/templates/partials/quote_step_8.html @@ -49,7 +49,7 @@
{{ steps[step - 1].title }} - {% if lang == 'de' %}Schritt {{ step }} von {{ steps|length }}{% else %}{{ step }} of {{ steps|length }}{% endif %} + {{ t.q_step_counter | tformat(step=step, total=steps|length) }}
diff --git a/padelnomics/src/padelnomics/leads/templates/partials/quote_step_9.html b/padelnomics/src/padelnomics/leads/templates/partials/quote_step_9.html index 2929982..afc09da 100644 --- a/padelnomics/src/padelnomics/leads/templates/partials/quote_step_9.html +++ b/padelnomics/src/padelnomics/leads/templates/partials/quote_step_9.html @@ -21,19 +21,19 @@
- {% if 'contact_name' in errors %}

{% if lang == 'de' %}Vollständiger Name ist erforderlich{% else %}Full name is required{% endif %}

{% endif %} + {% if 'contact_name' in errors %}

{{ t.q9_error_name }}

{% endif %}
- {% if 'contact_email' in errors %}

{% if lang == 'de' %}E-Mail ist erforderlich{% else %}Email is required{% endif %}

{% endif %} + {% if 'contact_email' in errors %}

{{ t.q9_error_email }}

{% endif %}
- {% if 'contact_phone' in errors %}

{% if lang == 'de' %}Telefonnummer ist erforderlich{% else %}Phone number is required{% endif %}

{% endif %} + {% if 'contact_phone' in errors %}

{{ t.q9_error_phone }}

{% endif %}
@@ -62,7 +62,7 @@
{{ steps[step - 1].title }} - {% if lang == 'de' %}Schritt {{ step }} von {{ steps|length }}{% else %}{{ step }} of {{ steps|length }}{% endif %} + {{ t.q_step_counter | tformat(step=step, total=steps|length) }}
diff --git a/padelnomics/src/padelnomics/leads/templates/quote_request.html b/padelnomics/src/padelnomics/leads/templates/quote_request.html index 7581434..c3dc993 100644 --- a/padelnomics/src/padelnomics/leads/templates/quote_request.html +++ b/padelnomics/src/padelnomics/leads/templates/quote_request.html @@ -1,5 +1,5 @@ {% extends "base.html" %} -{% block title %}{% if lang == 'de' %}Angebote von Bauunternehmen erhalten - {{ config.APP_NAME }}{% else %}Get Builder Quotes - {{ config.APP_NAME }}{% endif %}{% endblock %} +{% block title %}{{ t.q_page_title }} - {{ config.APP_NAME }}{% endblock %} {% block head %}