Don't show on detail.

master
Nick Sergeant 2013-08-01 12:56:17 -04:00
parent 04557e3508
commit e978960e89
2 changed files with 1 additions and 4 deletions

View File

@ -57,9 +57,6 @@
</div>
{% endif %}
<section class="snipts" id="snipts">
{% if not request.user.profile.is_pro %}
{% include 'go-pro.html' %}
{% endif %}
{% with 'true' as detail %}
{% include "snipts/snipt-list.html" %}
{% endwith %}

View File

@ -13,7 +13,7 @@
{% block content %}
<section class="snipts" id="snipts" ng-controller="SniptListController">
{% 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 %}