From 733d36e9f70be767b1404ce75d4913e761a82a1c Mon Sep 17 00:00:00 2001 From: orakili Date: Thu, 3 Aug 2023 23:22:16 +0000 Subject: [PATCH 01/59] feat: use node story card template for stories paragraph to display the date and featured Refs: UNO-757 --- .../custom/common_design_claro/css/styles.css | 16 ++++++++++++++++ .../content/node--story--card.html.twig | 1 + 2 files changed, 17 insertions(+) create mode 100644 html/themes/custom/common_design_claro/templates/content/node--story--card.html.twig diff --git a/html/themes/custom/common_design_claro/css/styles.css b/html/themes/custom/common_design_claro/css/styles.css index 82d4526c..33e14b9b 100644 --- a/html/themes/custom/common_design_claro/css/styles.css +++ b/html/themes/custom/common_design_claro/css/styles.css @@ -182,6 +182,22 @@ form .paragraph--view-mode--preview.paragraph--type--content-list .uno-stories__ form .paragraph--view-mode--preview.paragraph--type--content-list article.node--type-story.node--sticky.node--view-mode-card .node__content { min-width: 220px; } +form .paragraph--view-mode--preview.paragraph--type--content-list article.node--type-story.node--sticky.node--view-mode-card:first-child .uno-card__image { + max-width: 220px; +} +form .paragraph--view-mode--preview.paragraph--type--content-list article.node--type-story.node--sticky.node--view-mode-card:first-child .cd-card__container { + display: block; +} +form .paragraph--view-mode--preview.paragraph--type--content-list article.node--type-story .cd-card__container { + padding: 0; +} +form .paragraph--view-mode--preview.paragraph--type--content-list article.node--type-story .cd-card__footer { + padding: 0; + font-size: var(--font-size-h5); +} +form .paragraph--view-mode--preview.paragraph--type--content-list article.node--type-story .cd-read-more { + display: none; +} /* Events. */ form .paragraph--view-mode--preview.paragraph--type--events .viewsreference--view-title { diff --git a/html/themes/custom/common_design_claro/templates/content/node--story--card.html.twig b/html/themes/custom/common_design_claro/templates/content/node--story--card.html.twig new file mode 100644 index 00000000..094fd657 --- /dev/null +++ b/html/themes/custom/common_design_claro/templates/content/node--story--card.html.twig @@ -0,0 +1 @@ +{% include '@common_design_subtheme/content/node--story--card.html.twig' %} From 3c9a8dc0d9a5f3c1b93b945904700c775cb81b2d Mon Sep 17 00:00:00 2001 From: left23 Date: Mon, 7 Aug 2023 14:06:32 +0200 Subject: [PATCH 02/59] chore: hide the view all link from Storie block on form Refs: UNO-757 --- html/themes/custom/common_design_claro/css/styles.css | 3 +++ 1 file changed, 3 insertions(+) diff --git a/html/themes/custom/common_design_claro/css/styles.css b/html/themes/custom/common_design_claro/css/styles.css index 33e14b9b..d596eadf 100644 --- a/html/themes/custom/common_design_claro/css/styles.css +++ b/html/themes/custom/common_design_claro/css/styles.css @@ -179,6 +179,9 @@ form .paragraph--view-mode--preview.paragraph--type--news-and-stories .uno-stori form .paragraph--view-mode--preview.paragraph--type--content-list .uno-stories__header { margin-bottom: 1rem; } +form .paragraph--view-mode--preview.paragraph--type--content-list .uno-stories__view_all { + display: none; +} form .paragraph--view-mode--preview.paragraph--type--content-list article.node--type-story.node--sticky.node--view-mode-card .node__content { min-width: 220px; } From 83ec574c7ab8eb78ca08b1ab987ce0462f6811c3 Mon Sep 17 00:00:00 2001 From: left23 Date: Mon, 7 Aug 2023 17:23:09 +0200 Subject: [PATCH 03/59] chore: remove unused templates Refs: UNO-678 --- ...-responses-active-responses-menu.html.twig | 55 ------- .../templates/cd/cd-header/cd-ocha.html.twig | 10 -- ...agraph--field-photos--media-item.html.twig | 7 - .../navigation/menu--responses.html.twig | 47 ------ ...h--card-list--featured-highlight.html.twig | 36 ----- .../paragraphs/paragraph--card-list.html.twig | 28 ---- .../paragraphs/paragraph--card.html.twig | 52 ------- .../paragraph--content-list.html.twig | 58 -------- .../paragraph--datawrapper.html.twig | 56 ------- .../paragraph--figures--preview.html.twig | 55 ------- .../templates/uno/donors.html.twig | 139 ------------------ .../templates/uno/gho.html.twig | 34 ----- 12 files changed, 577 deletions(-) delete mode 100644 html/themes/custom/common_design_subtheme/templates/blocks/block--views-block--responses-active-responses-menu.html.twig delete mode 100644 html/themes/custom/common_design_subtheme/templates/cd/cd-header/cd-ocha.html.twig delete mode 100644 html/themes/custom/common_design_subtheme/templates/fields/field--paragraph--field-photos--media-item.html.twig delete mode 100755 html/themes/custom/common_design_subtheme/templates/navigation/menu--responses.html.twig delete mode 100644 html/themes/custom/common_design_subtheme/templates/paragraphs/paragraph--card-list--featured-highlight.html.twig delete mode 100644 html/themes/custom/common_design_subtheme/templates/paragraphs/paragraph--card-list.html.twig delete mode 100644 html/themes/custom/common_design_subtheme/templates/paragraphs/paragraph--card.html.twig delete mode 100644 html/themes/custom/common_design_subtheme/templates/paragraphs/paragraph--content-list.html.twig delete mode 100644 html/themes/custom/common_design_subtheme/templates/paragraphs/paragraph--datawrapper.html.twig delete mode 100644 html/themes/custom/common_design_subtheme/templates/paragraphs/paragraph--figures--preview.html.twig delete mode 100644 html/themes/custom/common_design_subtheme/templates/uno/donors.html.twig delete mode 100644 html/themes/custom/common_design_subtheme/templates/uno/gho.html.twig diff --git a/html/themes/custom/common_design_subtheme/templates/blocks/block--views-block--responses-active-responses-menu.html.twig b/html/themes/custom/common_design_subtheme/templates/blocks/block--views-block--responses-active-responses-menu.html.twig deleted file mode 100644 index c83f1b5c..00000000 --- a/html/themes/custom/common_design_subtheme/templates/blocks/block--views-block--responses-active-responses-menu.html.twig +++ /dev/null @@ -1,55 +0,0 @@ -{# -/** - * @file - * Theme override to display a block. - * - * Available variables: - * - plugin_id: The ID of the block implementation. - * - label: The configured label of the block if visible. - * - configuration: A list of the block's configuration values. - * - label: The configured label for the block. - * - label_display: The display settings for the label. - * - provider: The module or other provider that provided this block plugin. - * - Block plugin specific settings will also be stored here. - * - content: The content of this block. - * - attributes: array of HTML attributes populated by modules, intended to - * be added to the main container tag of this template. - * - id: A valid HTML ID and guaranteed unique. - * - title_attributes: Same as attributes, except applied to the main title - * tag that appears in the template. - * - title_prefix: Additional output populated by modules, intended to be - * displayed in front of the main title tag that appears in the template. - * - title_suffix: Additional output populated by modules, intended to be - * displayed after the main title tag that appears in the template. - * - * @see template_preprocess_block() - */ -#} -{% - set classes = [ - 'block', - 'block-menu', - 'navigation', - 'menu--' ~ derivative_plugin_id|clean_class, - 'uno-nav' - ] -%} - -{% set heading_id = attributes.id ~ '-menu'|clean_id %} - -{{ attach_library('common_design_subtheme/uno-nav') }} - - diff --git a/html/themes/custom/common_design_subtheme/templates/cd/cd-header/cd-ocha.html.twig b/html/themes/custom/common_design_subtheme/templates/cd/cd-header/cd-ocha.html.twig deleted file mode 100644 index 99cff8eb..00000000 --- a/html/themes/custom/common_design_subtheme/templates/cd/cd-header/cd-ocha.html.twig +++ /dev/null @@ -1,10 +0,0 @@ -{% embed '@common_design/cd/cd-header/cd-ocha.html.twig' %} - - {% block related_platforms %} - - - - - {% endblock %} - -{% endembed %} diff --git a/html/themes/custom/common_design_subtheme/templates/fields/field--paragraph--field-photos--media-item.html.twig b/html/themes/custom/common_design_subtheme/templates/fields/field--paragraph--field-photos--media-item.html.twig deleted file mode 100644 index 96f0bfbc..00000000 --- a/html/themes/custom/common_design_subtheme/templates/fields/field--paragraph--field-photos--media-item.html.twig +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/html/themes/custom/common_design_subtheme/templates/navigation/menu--responses.html.twig b/html/themes/custom/common_design_subtheme/templates/navigation/menu--responses.html.twig deleted file mode 100755 index 1fe77ecc..00000000 --- a/html/themes/custom/common_design_subtheme/templates/navigation/menu--responses.html.twig +++ /dev/null @@ -1,47 +0,0 @@ -{# -/** - * @file - * Theme override to display a menu. - * - * Available variables: - * - menu_name: The machine name of the menu. - * - items: A nested list of menu items. Each menu item contains: - * - attributes: HTML attributes for the menu item. - * - below: The menu item child items. - * - title: The menu link title. - * - url: The menu link url, instance of \Drupal\Core\Url - * - localized_options: Menu link localized options. - * - is_expanded: TRUE if the link has visible children within the current - * menu tree. - * - is_collapsed: TRUE if the link has children within the current menu tree - * that are not currently visible. - * - in_active_trail: TRUE if the link is in the active trail. - */ -#} -{% import _self as menus %} - -{# - We call a macro which calls itself to render the full tree. - @see https://twig.symfony.com/doc/1.x/tags/macro.html -#} -{{ menus.menu_links(items, attributes, 0) }} - -{% macro menu_links(items, attributes, menu_level) %} - {% import _self as menus %} - {% if items %} - {% if menu_level == 0 %} - - {% else %} -
    - {% endif %} - {% for item in items %} - - {{ link(item.title, item.url) }} - {% if item.below %} - {{ menus.menu_links(item.below, attributes, menu_level + 1) }} - {% endif %} - - {% endfor %} -
- {% endif %} -{% endmacro %} diff --git a/html/themes/custom/common_design_subtheme/templates/paragraphs/paragraph--card-list--featured-highlight.html.twig b/html/themes/custom/common_design_subtheme/templates/paragraphs/paragraph--card-list--featured-highlight.html.twig deleted file mode 100644 index 308e555c..00000000 --- a/html/themes/custom/common_design_subtheme/templates/paragraphs/paragraph--card-list--featured-highlight.html.twig +++ /dev/null @@ -1,36 +0,0 @@ -{# -/** - * @file - * Display a Featured Highlight within the Card List. - * - * @overrides html/themes/custom/common_design_subtheme/templates/paragraph.html.twig - * - * @see template_preprocess_paragraph() - * - * @ingroup themeable - */ -#} -{{ attach_library('common_design_subtheme/uno-card')}} - -{% - set classes = [ - 'paragraph', - 'paragraph--type--' ~ paragraph.bundle|clean_class, - view_mode ? 'paragraph--view-mode--' ~ view_mode|clean_class, - not paragraph.isPublished() ? 'paragraph--unpublished', - 'uno-card', - ] -%} -{% block paragraph %} - - {% block content %} - {% set destination = paragraph.field_destination.0.url %} - - {{ content.field_image }} -

{{ content.field_title.0 }}

-

{{ content.field_text|render|striptags|trim }}

- {{ 'View more'|t }} - - {% endblock %} - -{% endblock paragraph %} diff --git a/html/themes/custom/common_design_subtheme/templates/paragraphs/paragraph--card-list.html.twig b/html/themes/custom/common_design_subtheme/templates/paragraphs/paragraph--card-list.html.twig deleted file mode 100644 index 4e5f9818..00000000 --- a/html/themes/custom/common_design_subtheme/templates/paragraphs/paragraph--card-list.html.twig +++ /dev/null @@ -1,28 +0,0 @@ -{# -/** - * @file - * Default theme implementation to display a paragraph. - * - * @overrides html/themes/custom/common_design_subtheme/templates/paragraph.html.twig - * - * @see template_preprocess_paragraph() - * - * @ingroup themeable - */ -#} -{% - set classes = [ - 'paragraph', - 'paragraph--type--' ~ paragraph.bundle|clean_class, - view_mode ? 'paragraph--view-mode--' ~ view_mode|clean_class, - not paragraph.isPublished() ? 'paragraph--unpublished', - paragraph.field_numcols.value ? 'paragraph--type--card-list--col-' ~ paragraph.field_numcols.value : 'paragraph--type--card-list--col-2', - ] -%} -{% block paragraph %} - - {% block content %} - {{ content }} - {% endblock %} - -{% endblock paragraph %} diff --git a/html/themes/custom/common_design_subtheme/templates/paragraphs/paragraph--card.html.twig b/html/themes/custom/common_design_subtheme/templates/paragraphs/paragraph--card.html.twig deleted file mode 100644 index 90453473..00000000 --- a/html/themes/custom/common_design_subtheme/templates/paragraphs/paragraph--card.html.twig +++ /dev/null @@ -1,52 +0,0 @@ -{# -/** - * @file - * Default theme implementation to display a Featured Highlight paragraph. - * - * @overrides html/themes/custom/common_design_subtheme/templates/paragraph.html.twig - * - * @see template_preprocess_paragraph() - * - * @ingroup themeable - */ -#} -{{ attach_library('common_design_subtheme/uno-card')}} - -{% - set classes = [ - 'paragraph', - 'paragraph--type--' ~ paragraph.bundle|clean_class, - view_mode ? 'paragraph--view-mode--' ~ view_mode|clean_class, - not paragraph.isPublished() ? 'paragraph--unpublished', - 'uno-card', - ] -%} - -{% block paragraph %} - - {% block content %} - {% set destination = paragraph.field_card_link.0.url %} -
-
- {% if destination %} - {{ content.field_card_title }} - {% else %} - {{ content.field_card_title }} - {% endif %} -
-
- {{ content|without('field_card_link', 'field_card_title') }} - {% if destination %} - - {{ 'View more'|t }} - - - {% endif %} -
-
- {#
- {{ content.field_image }} -
#} - {% endblock %} - -{% endblock paragraph %} diff --git a/html/themes/custom/common_design_subtheme/templates/paragraphs/paragraph--content-list.html.twig b/html/themes/custom/common_design_subtheme/templates/paragraphs/paragraph--content-list.html.twig deleted file mode 100644 index 0f6851e0..00000000 --- a/html/themes/custom/common_design_subtheme/templates/paragraphs/paragraph--content-list.html.twig +++ /dev/null @@ -1,58 +0,0 @@ -{# -/** - * @file - * Default theme implementation to display a paragraph. - * - * Available variables: - * - paragraph: Full paragraph entity. - * Only method names starting with "get", "has", or "is" and a few common - * methods such as "id", "label", and "bundle" are available. For example: - * - paragraph.getCreatedTime() will return the paragraph creation timestamp. - * - paragraph.id(): The paragraph ID. - * - paragraph.bundle(): The type of the paragraph, for example, "image" or "text". - * - paragraph.getOwnerId(): The user ID of the paragraph author. - * See Drupal\paragraphs\Entity\Paragraph for a full list of public properties - * and methods for the paragraph object. - * - content: All paragraph items. Use {{ content }} to print them all, - * or print a subset such as {{ content.field_example }}. Use - * {{ content|without('field_example') }} to temporarily suppress the printing - * of a given child element. - * - attributes: HTML attributes for the containing element. - * The attributes.class element may contain one or more of the following - * classes: - * - paragraphs: The current template type (also known as a "theming hook"). - * - paragraphs--type-[type]: The current paragraphs type. For example, if the paragraph is an - * "Image" it would result in "paragraphs--type--image". Note that the machine - * name will often be in a short form of the human readable label. - * - paragraphs--view-mode--[view_mode]: The View Mode of the paragraph; for example, a - * preview would result in: "paragraphs--view-mode--preview", and - * default: "paragraphs--view-mode--default". - * - view_mode: View mode; for example, "preview" or "full". - * - logged_in: Flag for authenticated user status. Will be true when the - * current user is a logged-in member. - * - is_admin: Flag for admin user status. Will be true when the current user - * is an administrator. - * - * @see template_preprocess_paragraph() - * - * @ingroup themeable - */ -#} -{% - set classes = [ - 'paragraph', - 'paragraph--type--' ~ paragraph.bundle|clean_class, - view_mode ? 'paragraph--view-mode--' ~ view_mode|clean_class, - not paragraph.isPublished() ? 'paragraph--unpublished' - ] -%} - -{{ attach_library('common_design_subtheme/cd-cards')}} - -{% block paragraph %} - - {% block content %} - {{ content }} - {% endblock %} - -{% endblock paragraph %} diff --git a/html/themes/custom/common_design_subtheme/templates/paragraphs/paragraph--datawrapper.html.twig b/html/themes/custom/common_design_subtheme/templates/paragraphs/paragraph--datawrapper.html.twig deleted file mode 100644 index 83e7562b..00000000 --- a/html/themes/custom/common_design_subtheme/templates/paragraphs/paragraph--datawrapper.html.twig +++ /dev/null @@ -1,56 +0,0 @@ -{# -/** - * @file - * Default theme implementation to display a paragraph. - * - * Available variables: - * - paragraph: Full paragraph entity. - * Only method names starting with "get", "has", or "is" and a few common - * methods such as "id", "label", and "bundle" are available. For example: - * - paragraph.getCreatedTime() will return the paragraph creation timestamp. - * - paragraph.id(): The paragraph ID. - * - paragraph.bundle(): The type of the paragraph, for example, "image" or "text". - * - paragraph.getOwnerId(): The user ID of the paragraph author. - * See Drupal\paragraphs\Entity\Paragraph for a full list of public properties - * and methods for the paragraph object. - * - content: All paragraph items. Use {{ content }} to print them all, - * or print a subset such as {{ content.field_example }}. Use - * {{ content|without('field_example') }} to temporarily suppress the printing - * of a given child element. - * - attributes: HTML attributes for the containing element. - * The attributes.class element may contain one or more of the following - * classes: - * - paragraphs: The current template type (also known as a "theming hook"). - * - paragraphs--type-[type]: The current paragraphs type. For example, if the paragraph is an - * "Image" it would result in "paragraphs--type--image". Note that the machine - * name will often be in a short form of the human readable label. - * - paragraphs--view-mode--[view_mode]: The View Mode of the paragraph; for example, a - * preview would result in: "paragraphs--view-mode--preview", and - * default: "paragraphs--view-mode--default". - * - view_mode: View mode; for example, "preview" or "full". - * - logged_in: Flag for authenticated user status. Will be true when the - * current user is a logged-in member. - * - is_admin: Flag for admin user status. Will be true when the current user - * is an administrator. - * - * @see template_preprocess_paragraph() - * - * @ingroup themeable - */ -#} -{% - set classes = [ - 'paragraph', - 'paragraph--type--' ~ paragraph.bundle|clean_class, - view_mode ? 'paragraph--view-mode--' ~ view_mode|clean_class, - not paragraph.isPublished() ? 'paragraph--unpublished' - ] -%} -{% block paragraph %} - - {% block content %} - {{ content|without('field_datawrapper_embed') }} - - {% endblock %} - -{% endblock paragraph %} diff --git a/html/themes/custom/common_design_subtheme/templates/paragraphs/paragraph--figures--preview.html.twig b/html/themes/custom/common_design_subtheme/templates/paragraphs/paragraph--figures--preview.html.twig deleted file mode 100644 index fa3ba93f..00000000 --- a/html/themes/custom/common_design_subtheme/templates/paragraphs/paragraph--figures--preview.html.twig +++ /dev/null @@ -1,55 +0,0 @@ -{# -/** - * @file - * Default theme implementation to display a paragraph. - * - * Available variables: - * - paragraph: Full paragraph entity. - * Only method names starting with "get", "has", or "is" and a few common - * methods such as "id", "label", and "bundle" are available. For example: - * - paragraph.getCreatedTime() will return the paragraph creation timestamp. - * - paragraph.id(): The paragraph ID. - * - paragraph.bundle(): The type of the paragraph, for example, "image" or "text". - * - paragraph.getOwnerId(): The user ID of the paragraph author. - * See Drupal\paragraphs\Entity\Paragraph for a full list of public properties - * and methods for the paragraph object. - * - content: All paragraph items. Use {{ content }} to print them all, - * or print a subset such as {{ content.field_example }}. Use - * {{ content|without('field_example') }} to temporarily suppress the printing - * of a given child element. - * - attributes: HTML attributes for the containing element. - * The attributes.class element may contain one or more of the following - * classes: - * - paragraphs: The current template type (also known as a "theming hook"). - * - paragraphs--type-[type]: The current paragraphs type. For example, if the paragraph is an - * "Image" it would result in "paragraphs--type--image". Note that the machine - * name will often be in a short form of the human readable label. - * - paragraphs--view-mode--[view_mode]: The View Mode of the paragraph; for example, a - * preview would result in: "paragraphs--view-mode--preview", and - * default: "paragraphs--view-mode--default". - * - view_mode: View mode; for example, "preview" or "full". - * - logged_in: Flag for authenticated user status. Will be true when the - * current user is a logged-in member. - * - is_admin: Flag for admin user status. Will be true when the current user - * is an administrator. - * - * @see template_preprocess_paragraph() - * - * @ingroup themeable - */ -#} -{% - set classes = [ - 'paragraph', - 'paragraph--type--' ~ paragraph.bundle|clean_class, - view_mode ? 'paragraph--view-mode--' ~ view_mode|clean_class, - not paragraph.isPublished() ? 'paragraph--unpublished' - ] -%} -{% block paragraph %} - - {% block content %} - {{ content }} - {% endblock %} - -{% endblock paragraph %} diff --git a/html/themes/custom/common_design_subtheme/templates/uno/donors.html.twig b/html/themes/custom/common_design_subtheme/templates/uno/donors.html.twig deleted file mode 100644 index 4f2b48fe..00000000 --- a/html/themes/custom/common_design_subtheme/templates/uno/donors.html.twig +++ /dev/null @@ -1,139 +0,0 @@ -{{ attach_library('common_design_subtheme/uno-donors') }} - -
-

Top donors

-
-
-
Japan
-
$28.9 million (36.3%)
-
-
-
United States of America
-
$9.6 million (12.1%)
-
-
-
Sweden
-
$8.6 million (10.8%)
-
-
-
Germany
-
$8.5 million (10.7%)
-
-
-
Ausdlalia
-
$6.1 million (7.7%)
-
-
-
- -
-

Top funded sectors

-
-
-
Food Security
-
$17.5 million
-
-
-
Protection
-
$15.9 million
-
-
-
Not specified
-
$12.1 million
-
-
-
Coordination and Support Services
-
$6.2 million
-
-
-
Education
-
$4.7 million
-
-
-
- -
-

Top donors

-
-
-
- Australia - (paid) -
-
$4.2 million
-
-
-
- Canada - (paid) -
-
$6.1 million
-
-
-
- Sweden - (pledged) -
-
$1.5 million
-
-
-
- Switzerland - (paid) -
-
$538.2 thousand
-
-
-
- Ireland - (paid) -
-
$529.7 thousand
-
-
-
- -
-

Earmarked donors

-
-
-
Canada
-
$148.9 thousand
-
-
-
Protection
-
$535.9 thousand
-
-
-
Sweden (SIDA)
-
$192.1 thousand
-
-
-
- -
-

Unearmarked donors

-
    -
  • Australia
  • -
  • Belgium
  • -
  • Canada
  • -
  • Estonia
  • -
  • Finland
  • -
  • France
  • -
  • Germany
  • -
  • Iceland
  • -
  • Ireland
  • -
  • Japan
  • -
  • Luxembourg
  • -
  • Monaco
  • -
  • Netherlands
  • -
  • New Zealand
  • -
  • Norway
  • -
  • Private Contributions
  • -
  • Russian Federation
  • -
  • South Africa
  • -
  • Sweden
  • -
  • Switzerland
  • -
  • United Kingdom
  • -
-
diff --git a/html/themes/custom/common_design_subtheme/templates/uno/gho.html.twig b/html/themes/custom/common_design_subtheme/templates/uno/gho.html.twig deleted file mode 100644 index db489209..00000000 --- a/html/themes/custom/common_design_subtheme/templates/uno/gho.html.twig +++ /dev/null @@ -1,34 +0,0 @@ -{{ attach_library('common_design_subtheme/uno-gho') }} - -{% set url ='https://humanitarianaction.info/gho2023' %} - -
-
-
-

{% trans %}GHO 2023{% endtrans %}

-

{% trans %}Global Humanitarian Overview is an annual assessment of global humanitarian needs and the resources required to respond to them.{% endtrans %} -

- - {% trans %}Learn more{% endtrans %} - - -
-
-
{% trans %}339M{% endtrans %}
-
{% trans %}People in need{% endtrans %}
-
-
-
{% trans %}230M{% endtrans %}
-
{% trans %}People targeted{% endtrans %}
-
-
-
{% trans %}51.5B{% endtrans %}
-
{% trans %}Requirements (US$){% endtrans %}
-
-
-
{% trans %}Top donors in 2022{% endtrans %}
-
-
-
From 9fb3a21f97658cf2b00dc138abfc8e75273d8df8 Mon Sep 17 00:00:00 2001 From: left23 Date: Mon, 7 Aug 2023 17:24:16 +0200 Subject: [PATCH 04/59] chore: update template with comments, remove unused libraries or those better attached globally, translation tags Refs: UNO-678 --- .../cd/cd-footer/cd-social-menu.html.twig | 10 +++++----- .../content/media-oembed-iframe.html.twig | 2 ++ .../content/node--basic--card.html.twig | 9 +++------ .../content/node--basic--full.html.twig | 12 +++--------- .../content/node--basic--teaser.html.twig | 9 +++------ .../templates/content/node--campaign.html.twig | 10 +++------- .../templates/content/node--card.html.twig | 17 +++++------------ .../content/node--event--card.html.twig | 9 +++------ .../content/node--event--full.html.twig | 11 +++-------- .../content/node--event--teaser.html.twig | 9 +++------ .../content/node--front--basic--full.html.twig | 12 +++--------- .../templates/content/node--full.html.twig | 11 +++-------- .../content/node--leader--full.html.twig | 11 +++-------- .../content/node--leader--teaser.html.twig | 9 +++------ .../content/node--leader--title.html.twig | 9 +++------ .../node--media-collection--card.html.twig | 10 +++------- .../node--media-collection--full.html.twig | 12 +++--------- .../node--media-collection--teaser.html.twig | 9 +++------ .../content/node--region--card.html.twig | 9 +++------ .../content/node--region--full.html.twig | 11 +++-------- .../content/node--region--teaser.html.twig | 9 +++------ .../content/node--response--card.html.twig | 12 +++--------- .../content/node--response--full.html.twig | 11 +++-------- .../content/node--response--map.html.twig | 3 ++- .../content/node--story--full.html.twig | 2 -- .../templates/content/node--teaser.html.twig | 3 --- .../field--paragraph--field-text.html.twig | 1 - .../field--paragraph--field-title.html.twig | 3 +-- .../ocha_search/ocha-search-block.html.twig | 2 +- ...unocha-donors-list--oct-top-donors.html.twig | 1 - .../paragraph--call-to-action.html.twig | 1 - ...ews-view-unformatted--media-centre.html.twig | 2 -- 32 files changed, 76 insertions(+), 175 deletions(-) diff --git a/html/themes/custom/common_design_subtheme/templates/cd/cd-footer/cd-social-menu.html.twig b/html/themes/custom/common_design_subtheme/templates/cd/cd-footer/cd-social-menu.html.twig index 5033a7c3..b830b12f 100644 --- a/html/themes/custom/common_design_subtheme/templates/cd/cd-footer/cd-social-menu.html.twig +++ b/html/themes/custom/common_design_subtheme/templates/cd/cd-footer/cd-social-menu.html.twig @@ -3,7 +3,7 @@