Skip to content

Commit

Permalink
banner for survey
Browse files Browse the repository at this point in the history
  • Loading branch information
jean-gui committed Aug 7, 2024
1 parent 51cbfe0 commit 8c38d55
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 16 deletions.
4 changes: 2 additions & 2 deletions templates/base.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -132,9 +132,9 @@
<div class="wrap">
<header class="global-header">
<span role="status" aria-live="polite"></span>
{# % block banner %}
{% block banner %}
{{ include('@W3CWebsiteTemplates/components/styles/banner.html.twig') }}
{% endblock banner %#}
{% endblock banner %}
{% block access_control %}
{{ include('@W3CWebsiteTemplates/components/styles/access_control.html.twig') }}
{% endblock %}
Expand Down
2 changes: 1 addition & 1 deletion templates/components/styles/banner.html.twig
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<div class="banner">
<div class="banner__inner l-center">
{% block banner_content %}
<p>{{ 'banner.beta.text'|trans({}, 'w3c_website_templates_bundle')|raw }}</p>
<p>{{ 'banner.text'|trans({}, 'w3c_website_templates_bundle')|raw }}</p>
{% endblock %}
</div>
</div>
9 changes: 4 additions & 5 deletions translations/w3c_website_templates_bundle+intl-icu.en.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,10 @@ footer:
mastodon: <span lang="en" dir="ltr">W3C on Mastodon</span>
github: <span lang="en" dir="ltr">W3C on GitHub</span>
banner:
beta:
text: >-
<span lang="en" dir="ltr">This is a new website. <a href="https://github.com/w3c/w3c-website">Give feedback</a> to help us
improve it.</span>
icon: Beta
text: >-
<span lang="en" dir="ltr">Please take our 6-minute community
<a href="https://www.w3.org/news/2024/w3c-opens-community-wide-survey/">survey</a>
on how we fulfill our mission for the world-wide web.</span>
header:
logo_alt: W3C
logo_link: Visit the W3C homepage
Expand Down
8 changes: 4 additions & 4 deletions translations/w3c_website_templates_bundle+intl-icu.ja.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@ footer:
mastodon: Mastodon
github: GitHub
banner:
beta:
text: >-
これは新しいウェブサイトです。 <a href="https://github.com/w3c/w3c-website">フィードバックを送る</a> ことで、私たちのウェブサイト改善にご協力ください。
icon: Beta
text: >-
<span lang="en" dir="ltr">Please take our 6-minute community
<a href="https://www.w3.org/news/2024/w3c-opens-community-wide-survey/">survey</a>
on how we fulfill our mission for the world-wide web.</span>
header:
logo_alt: W3C
logo_link: W3Cのホームページを訪れる
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@ footer:
mastodon: W3C 在 Mastodon
github: W3C 在 GitHub
banner:
beta:
text: >-
这是一个全新的网站,<a href="https://github.com/w3c/w3c-website">请给予反馈</a>帮助我们建设完善网站。
icon: 测试版
text: >-
<span lang="en" dir="ltr">Please take our 6-minute community
<a href="https://www.w3.org/news/2024/w3c-opens-community-wide-survey/">survey</a>
on how we fulfill our mission for the world-wide web.</span>
header:
logo_alt: W3C
logo_link: 访问 W3C 主页
Expand Down

0 comments on commit 8c38d55

Please sign in to comment.