From 2b7d90bda542587c2fe64519cb22829e561b69c2 Mon Sep 17 00:00:00 2001 From: Nick Sergeant Date: Sun, 21 Oct 2012 13:10:02 -0400 Subject: [PATCH] Remove Pro plug from non-logged-in users. --- snipts/templates/snipts/detail.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snipts/templates/snipts/detail.html b/snipts/templates/snipts/detail.html index fd27ebc..65dd129 100644 --- a/snipts/templates/snipts/detail.html +++ b/snipts/templates/snipts/detail.html @@ -44,7 +44,7 @@ {% block content %}
- {% if not request.user.profile.is_pro %} + {% if request.user.is_authenticated and not request.user.profile.is_pro %}
Snipt Pro: Support the development of Snipt and get exclusive features for only $19/year.
{% endif %} {% with 'true' as detail %}