From dd3db33cfe9e11c7e2c79dcbe87b7c0f0d5b2084 Mon Sep 17 00:00:00 2001 From: nmanu1 <88398086+nmanu1@users.noreply.github.com> Date: Mon, 15 Nov 2021 09:48:37 -0500 Subject: [PATCH] Display buttons if feedbackEnabled (#1003) Display thumbs up/down feedback buttons on product-prominentvideo cards whenever feedback is enabled, even if there are no details or CTAs. J=SLAP-1701 TEST=manual Check that test-site has thumbs up/down buttons appearing accordingly on product-prominentvideo cards --- cards/multilang-product-prominentvideo/template.hbs | 2 +- cards/product-prominentvideo/template.hbs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cards/multilang-product-prominentvideo/template.hbs b/cards/multilang-product-prominentvideo/template.hbs index 6e4bbc169..e7b7b4029 100644 --- a/cards/multilang-product-prominentvideo/template.hbs +++ b/cards/multilang-product-prominentvideo/template.hbs @@ -49,7 +49,7 @@ {{/inline}} {{#*inline 'content'}} -{{#if (any card.details (all card.CTA1 card.CTA1.url card.CTA1.label) (all card.CTA2 card.CTA2.url card.CTA2.label))}} +{{#if (any card.details (all card.CTA1 card.CTA1.url card.CTA1.label) (all card.CTA2 card.CTA2.url card.CTA2.label) card.feedbackEnabled)}}