From 51a331ed57f9334c688295506671c58a90b7661e Mon Sep 17 00:00:00 2001 From: Maud Leray Date: Fri, 16 Oct 2020 12:12:54 +0200 Subject: [PATCH 01/10] PLANET-5501 Update styleguide --- assets/src/scss/styleguide | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/src/scss/styleguide b/assets/src/scss/styleguide index 2da140510f..49115ad76a 160000 --- a/assets/src/scss/styleguide +++ b/assets/src/scss/styleguide @@ -1 +1 @@ -Subproject commit 2da140510fb8314cdd2249d92334eedf6927c124 +Subproject commit 49115ad76a14c7d5ef193b4ffec175dbbfadf070 From 249093149751def6ba3b1ef77d5849c77ba0d151 Mon Sep 17 00:00:00 2001 From: Maud Leray Date: Mon, 19 Oct 2020 15:53:34 +0200 Subject: [PATCH 02/10] PLANET-5501 Update Donate button default text --- src/MasterSite.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MasterSite.php b/src/MasterSite.php index 746620ea2c..01408d5a34 100644 --- a/src/MasterSite.php +++ b/src/MasterSite.php @@ -473,7 +473,7 @@ public function add_to_context( $context ) { } $context['donatelink'] = $options['donate_button'] ?? '#'; - $context['donatetext'] = $options['donate_text'] ?? __( 'DONATE', 'planet4-master-theme' ); + $context['donatetext'] = $options['donate_text'] ?? __( 'Donate', 'planet4-master-theme' ); $context['website_navbar_title'] = $options['website_navigation_title'] ?? __( 'International (English)', 'planet4-master-theme' ); if ( is_front_page() && isset( $options['donate_btn_visible_on_mobile'] ) && $options['donate_btn_visible_on_mobile'] ) { $context['enhanced_donate_btn_class'] = 'btn-enhanced-donate'; From 7cb5268fa04a6bfcc308de0dca0e3a8348d075a6 Mon Sep 17 00:00:00 2001 From: Maud Leray Date: Mon, 19 Oct 2020 16:34:01 +0200 Subject: [PATCH 03/10] PLANET-5501 Update Cookies button text --- templates/cookies.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/cookies.twig b/templates/cookies.twig index e2cf80dabf..5ca2912905 100644 --- a/templates/cookies.twig +++ b/templates/cookies.twig @@ -3,6 +3,6 @@
{{ cookies.text|e('wp_kses_post')|raw }}
- + {% endif %} From 8196c12952ae45f09ed3412268c7e7944ec33940 Mon Sep 17 00:00:00 2001 From: Maud Leray Date: Tue, 20 Oct 2020 14:22:03 +0200 Subject: [PATCH 04/10] PLANET-5501 Remove btn-medium class --- templates/author.twig | 2 +- templates/blocks/header.twig | 2 +- templates/search.twig | 12 ++++++------ templates/taxonomy.twig | 2 +- templates/tease-search.twig | 2 +- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/templates/author.twig b/templates/author.twig index 8b44eae352..937a7e4cee 100644 --- a/templates/author.twig +++ b/templates/author.twig @@ -53,7 +53,7 @@ data-page="1" data-total="{{ posts.pagination.total }}" data-url="{{ author.path }}" - class="load-more-mt btn btn-medium btn-small btn-secondary mb-5" + class="load-more-mt btn btn-small btn-secondary mb-5" data-ga-category="Articles List" data-ga-action="Load More Button" data-ga-label="n/a"> diff --git a/templates/blocks/header.twig b/templates/blocks/header.twig index 7c3484a780..7f51571b7f 100644 --- a/templates/blocks/header.twig +++ b/templates/blocks/header.twig @@ -66,7 +66,7 @@ {% if ( header_button_link_checkbox ) %} target="_blank" {% endif %} - class="btn btn-primary btn-medium page-header-btn" + class="btn btn-primary page-header-btn" data-ga-category="Header" data-ga-action="Call to Action" data-ga-label="n/a"> diff --git a/templates/search.twig b/templates/search.twig index 888a43fa95..82c3c29058 100644 --- a/templates/search.twig +++ b/templates/search.twig @@ -38,15 +38,15 @@ {% if ( source_selection ) %}
- - + +
{% endif %}
- - + +
@@ -374,7 +374,7 @@ {% if ( load_more and found_posts > paged_posts|length ) %}
- -
- - {% endif %}
+
{% endif %}