From aefd10b0927219398773f8221626c93c30ce1110 Mon Sep 17 00:00:00 2001 From: Nick Sergeant Date: Sun, 18 Oct 2015 10:08:21 -0400 Subject: [PATCH] Don't show teams promo to... teams. --- snipts/templates/snipts/detail.html | 2 +- snipts/templates/snipts/list.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/snipts/templates/snipts/detail.html b/snipts/templates/snipts/detail.html index 0a050ba..6d93301 100644 --- a/snipts/templates/snipts/detail.html +++ b/snipts/templates/snipts/detail.html @@ -50,7 +50,7 @@
{% if not request.user.is_authenticated %} {% include 'ad-leaderboard-pro.html' %} - {% elif not request.user.profile.teams_beta_seen %} + {% elif not request.user.profile.teams_beta_seen and not request.user.team %} {% include 'ad-leaderboard-teams.html' %} {% endif %} {% with 'true' as detail %} diff --git a/snipts/templates/snipts/list.html b/snipts/templates/snipts/list.html index 4f509c6..fdd0299 100644 --- a/snipts/templates/snipts/list.html +++ b/snipts/templates/snipts/list.html @@ -18,7 +18,7 @@ {% endif %}> {% if not request.user.is_authenticated %} {% include 'ad-leaderboard-pro.html' %} - {% elif not request.user.profile.teams_beta_seen %} + {% elif not request.user.profile.teams_beta_seen and not request.user.team %} {% include 'ad-leaderboard-teams.html' %} {% endif %} {% autopaginate snipts 10 %}