From a782fe47385fb5cdd40906afcf111d581c18e6a3 Mon Sep 17 00:00:00 2001 From: Nick Sergeant Date: Thu, 5 Nov 2015 20:47:22 -0500 Subject: [PATCH] Remove ad leaderboard promo for teams. --- snipts/templates/snipts/detail.html | 5 ----- snipts/templates/snipts/list.html | 5 ----- 2 files changed, 10 deletions(-) diff --git a/snipts/templates/snipts/detail.html b/snipts/templates/snipts/detail.html index 17abfe7..aecd826 100644 --- a/snipts/templates/snipts/detail.html +++ b/snipts/templates/snipts/detail.html @@ -45,11 +45,6 @@ {% block content %}
- {% if not request.user.is_authenticated %} - {% include 'ad-leaderboard-teams.html' %} - {% elif not request.user.profile.teams_beta_seen and not request.user.team and not request.user.profile.has_teams %} - {% include 'ad-leaderboard-teams.html' %} - {% endif %} {% with 'true' as detail %} {% include "snipts/snipt-list.html" %} {% endwith %} diff --git a/snipts/templates/snipts/list.html b/snipts/templates/snipts/list.html index b24063b..54f5b1f 100644 --- a/snipts/templates/snipts/list.html +++ b/snipts/templates/snipts/list.html @@ -21,11 +21,6 @@ {% if request.user.profile.list_view == 'C' %} ng-cloak ng-show="$root.account.id" {% endif %}> - {% if not request.user.is_authenticated %} - {% include 'ad-leaderboard-teams.html' %} - {% elif not request.user.profile.teams_beta_seen and not request.user.team and not request.user.profile.has_teams %} - {% include 'ad-leaderboard-teams.html' %} - {% endif %} {% autopaginate snipts 10 %} {% for snipt in snipts %} {% include "snipts/snipt-list.html" %}