Skip to content

Commit 149fac4

Browse files
committed
Merge branch 'WT-334-cms-components-for-advertising-subpage' into WT-334-cms-components-for-advertising-sub-navigation
2 parents be1f099 + 98c3e06 commit 149fac4

6 files changed

Lines changed: 10 additions & 316 deletions

File tree

bedrock/firefox/templates/firefox/welcome/page26.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@
1919
{% set button_text = 'Faire un don à la Fondation Mozilla' %}
2020
{% set button_link = 'https://mozillafoundation.org/?form=25-fxm-gt-fr' %}
2121
{% elif LANG == "it" %}
22-
{% set heading = 'La forza di Firefox sei tu. Rendi la buona tecnologia uno standard. Basta una donazione.' %}
22+
{% set heading = 'La forza di Firefox sei tu. Rendi la tecnologia di qualità uno standard. Basta una donazione.' %}
2323
{% set body_1 = 'Mozilla Foundation, l’organizzazione senza fini di lucro che ha sviluppato Firefox, sta creando un futuro in cui la tecnologia è al servizio delle persone e non dei potenti.' %}
24-
{% set body_2 = '——Con la tua donazione a Mozilla Foundation, internet resta un luogo libero, riservato e dedicato alle persone. Dona subito per trasformare in realtà la missione originaria di internet.' %}
24+
{% set body_2 = 'Con la tua donazione a Mozilla Foundation, internet resta un luogo libero, riservato e dedicato alle persone. Dona subito per trasformare in realtà la missione originaria di internet.' %}
2525
{% set button_text = 'Dona a Mozilla Foundation' %}
2626
{% set button_link = 'https://mozillafoundation.org/?form=25-fxm-gt-it' %}
2727
{% elif LANG == "ja" %}
@@ -51,7 +51,7 @@
5151
{% else %}
5252
{% set heading = 'You power Firefox. Now donate to make good tech the default' %}
5353
{% set body_1 = 'Mozilla Foundation — the non-profit behind Firefox — is building a future where technology serves people, not power.' %}
54-
{% set body_2 = 'Your donation to Mozilla Foundation keeps the internet open, private, and built for people. Donate for Giving Tuesday to make good on the promise of the internet.' %}
54+
{% set body_2 = 'Your donation to Mozilla Foundation keeps the internet open, private, and built for people. Donate today to make good on the promise of the internet.' %}
5555
{% set button_text = 'Donate to Mozilla Foundation' %}
5656
{% set button_link = 'https://mozillafoundation.org/?form=25-fxm-gt-en' %}
5757
{% endif %}

bedrock/firefox/urls.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@
189189
page(
190190
"firefox/welcome/26/",
191191
"firefox/welcome/page26.html",
192-
active_locales=["en-US", "en-CA", "en-GB", "fr", "de", "pt-BR", "ja", "es-AR", "es-CL", "es-ES", "es-MX", "pl", "it"],
192+
active_locales=["en-US", "en-CA", "en-GB", "fr", "de", "pt-BR", "pt-PT", "ja", "es-AR", "es-CL", "es-ES", "es-MX", "pl", "it"],
193193
),
194194
page("firefox/switch/", "firefox/switch.html", ftl_files=["firefox/switch"]),
195195
page("firefox/share/", "firefox/share.html", active_locales=["de", "fr", "en-US", "en-CA"]),

bedrock/mozorg/models.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,10 @@ def process_md_file(file_path):
3030
input = f.read()
3131

3232
md = markdown.Markdown(
33-
extensions=["markdown.extensions.attr_list", TocExtension(permalink=True, baselevel=2, toc_depth="2-3", separator="")],
33+
extensions=[
34+
"markdown.extensions.attr_list",
35+
TocExtension(permalink=True, baselevel=2, toc_depth="2-3", separator=""),
36+
],
3437
output_format="html5",
3538
)
3639
content = md.convert(input)

bedrock/mozorg/templates/mozorg/advertising/formats.html

Lines changed: 0 additions & 308 deletions
This file was deleted.

bedrock/mozorg/templates/mozorg/cms/advertising/blocks/feature_list_item_block.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66

77
{% with li_class='mza-half-grid is-list-item', h3_class='mza-home-big-list-heading', p_class='mza-home-big-list-text' %}
88
{% include 'mozorg/cms/advertising/includes/list_item.html' %}
9-
{% endwith %}
9+
{% endwith %}

bedrock/mozorg/templates/mozorg/cms/advertising/blocks/figure_with_statistic_block.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,4 @@
1919
</figcaption>
2020
</figure>
2121
</div>
22-
23-
</div>
22+
</div>

0 commit comments

Comments
 (0)