diff --git a/opentech/public/funds/templates/public_funds/blocks/related_projects.html b/opentech/public/funds/templates/public_funds/blocks/related_projects.html index e172378a281b6863376335a04e1b867f46b1470d..d293c0e22d78c9f05aa6a0c70771f9808a8cd88f 100644 --- a/opentech/public/funds/templates/public_funds/blocks/related_projects.html +++ b/opentech/public/funds/templates/public_funds/blocks/related_projects.html @@ -1,4 +1,4 @@ -{% if page.projectfunding_set.unique %} +{% if page.projectfunding_set.projects %} <div class="wrapper wrapper--breakout"> <div class="wrapper--media-boxes"> <div class="grid grid--two grid--medium-gap"> @@ -17,7 +17,7 @@ </div> </div> {% endif %} -{% if page.funding_set.unique %} +{% if page.funding_set.people %} <div class="wrapper wrapper--breakout"> <div class="wrapper--media-boxes"> <div class="grid grid--two grid--medium-gap"> diff --git a/opentech/public/funds/templates/public_funds/blocks/related_reviewers.html b/opentech/public/funds/templates/public_funds/blocks/related_reviewers.html index 8ff35ff9da7e72694bddfddd3433e82c950d05fa..6246d07d867ab81cf675fadb9133733d9a4dd8cd 100644 --- a/opentech/public/funds/templates/public_funds/blocks/related_reviewers.html +++ b/opentech/public/funds/templates/public_funds/blocks/related_reviewers.html @@ -1,4 +1,4 @@ -{% if page.reviewers.exists %} +{% if page.reviewers.people %} <div class="wrapper wrapper--breakout"> <div class="wrapper--media-boxes"> <div class="grid grid--two grid--medium-gap">