From 937458253cbd18a70ad50d8051f411df8e159741 Mon Sep 17 00:00:00 2001 From: Anthony Dillon Date: Wed, 10 Apr 2024 12:09:56 +0100 Subject: [PATCH] WD-10249 Add Korean engage templates --- templates/engage/index.html | 7 +- templates/engage/shared/_kr_engage_form.html | 67 +++++++++++++++ templates/engage/shared/_kr_thank-you.html | 89 ++++++++++++++++++++ 3 files changed, 160 insertions(+), 3 deletions(-) create mode 100644 templates/engage/shared/_kr_engage_form.html create mode 100644 templates/engage/shared/_kr_thank-you.html diff --git a/templates/engage/index.html b/templates/engage/index.html index 341bacff67f..3eb4ca8afbc 100644 --- a/templates/engage/index.html +++ b/templates/engage/index.html @@ -37,6 +37,7 @@

Engage pages

+ @@ -86,7 +87,7 @@

Engage pages

{% if metadata | length > 0 %}
{% for item in metadata %} - {% with + {% with title=item.topic_name, title_link=item.path, description=item.subtitle, @@ -134,14 +135,14 @@

No results — why not try widening your search?

el.addEventListener("change", function(e) { const value = e.target.value; const selectFields = document.querySelectorAll("select:checked") - + if (url.searchParams.has(key)) { url.searchParams.delete(key); } if (value !== "all") { url.searchParams.append(key, value); } - + window.location = url; }); } diff --git a/templates/engage/shared/_kr_engage_form.html b/templates/engage/shared/_kr_engage_form.html new file mode 100644 index 00000000000..9c5538b7df9 --- /dev/null +++ b/templates/engage/shared/_kr_engage_form.html @@ -0,0 +1,67 @@ + +
+
+ 연락처 정보 +
    +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + +
  • +
  • +

    이 양식을 제출함으로써 나는 다음과 같은 내용에 동의함을 확인합니다: Canonical의 개인정보 보호정책개인 정보 정책.

    +
  • + {# These are honey pot fields to catch bots #} +
  • + + +
  • +
  • + + +
  • + {# End of honey pots #} +
  • + +
  • +
  • + + + + + + + + + + + +
  • +
+
+
diff --git a/templates/engage/shared/_kr_thank-you.html b/templates/engage/shared/_kr_thank-you.html new file mode 100644 index 00000000000..7a1414dc758 --- /dev/null +++ b/templates/engage/shared/_kr_thank-you.html @@ -0,0 +1,89 @@ +{% extends "engage/base_engage.html" %} + +{% block title %}다운로드 {{ resource_name }} {% endblock %} + +{% block head_extra %}{% endblock %} + +{% block content %} + +
+ +
+
+

+ 감사합니다 +

+
+
+
+ +
+
+ {% if form_details and "access_to_content" in metadata and metadata.access_to_content == "true" %} + +

다음의 {{ resource_name }} 내용을 {{ form_details.email }}로 보내드렸습니다.

+

+ 마지막 페이지로 돌아가기 + 문의하기 +

+

+ 받지 못하셨나요? 스팸 폴더를 확인하고 올바른 이메일 주소를 사용했는지 확인하세요. +

+

+ 아니면 다시 보내보세요 +

+ + {% else %} + {% if "thank_you_text" in metadata %} +

{{ metadata["thank_you_text"] }}

+ {% else %} +

이제 {{ resources_name }}을(를) 다운로드할 준비가 되었습니다.

+ {% endif %} + {% if "contact_form_only" not in metadata and metadata.contact_form_only != "true" or ("access_to_content" in metadata and metadata.access_to_content == "true") %} + {% if metadata.resource_url and metadata.resource_url != "" %} +

+ 다운로드 +

+ {% endif %} + {% endif %} + {% endif %} +
+
+ +{% if related | length > 0 %} +
+
+
+

당신이 또 관심 있어야 할 주제는 다음과 같습니다.

+
+
+
+ {% for page in related %} +
+ +

{{ page["topic_name"] }}

+

{{ page["subtitle"] }}

+

더보기 ›

+
+ {% endfor %} +
+
+{% endif %} +{% endblock content %}