From e978960e892d8f130f96614094ff55c22f4836c0 Mon Sep 17 00:00:00 2001 From: Nick Sergeant Date: Thu, 1 Aug 2013 12:56:17 -0400 Subject: [PATCH] Don't show on detail. --- snipts/templates/snipts/detail.html | 3 --- snipts/templates/snipts/list.html | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/snipts/templates/snipts/detail.html b/snipts/templates/snipts/detail.html index eb5232d..a3ebaf6 100644 --- a/snipts/templates/snipts/detail.html +++ b/snipts/templates/snipts/detail.html @@ -57,9 +57,6 @@ {% endif %}
- {% if not request.user.profile.is_pro %} - {% include 'go-pro.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 33188b9..ded89b5 100644 --- a/snipts/templates/snipts/list.html +++ b/snipts/templates/snipts/list.html @@ -13,7 +13,7 @@ {% block content %}
- {% if not request.user.profile.is_pro and not detail %} + {% if not request.user.profile.is_pro %} {% include 'go-pro.html' %} {% endif %} {% autopaginate snipts 10 %}