diff --git a/snipts/templates/snipts/detail.html b/snipts/templates/snipts/detail.html index d7be445..8fc6817 100644 --- a/snipts/templates/snipts/detail.html +++ b/snipts/templates/snipts/detail.html @@ -57,7 +57,7 @@ {% endif %}
- {% if request.user.is_authenticated and not request.user.profile.is_pro %} + {% if not request.user.profile.is_pro %} {% include 'go-pro.html' %} {% endif %} {% with 'true' as detail %} diff --git a/snipts/templates/snipts/list.html b/snipts/templates/snipts/list.html index 11ee2a6..af783ab 100644 --- a/snipts/templates/snipts/list.html +++ b/snipts/templates/snipts/list.html @@ -13,7 +13,7 @@ {% block content %}
- {% if request.user.is_authenticated and not request.user.profile.is_pro %} + {% if not request.user.profile.is_pro %} {% include 'go-pro.html' %} {% endif %} {% autopaginate snipts 10 %}