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> </div>
{% endif %} {% endif %}
<section class="snipts" id="snipts"> <section class="snipts" id="snipts">
{% if not request.user.profile.is_pro %}
{% include 'go-pro.html' %}
{% endif %}
{% with 'true' as detail %} {% with 'true' as detail %}
{% include "snipts/snipt-list.html" %} {% include "snipts/snipt-list.html" %}
{% endwith %} {% endwith %}

View File

@ -13,7 +13,7 @@
{% block content %} {% block content %}
<section class="snipts" id="snipts" ng-controller="SniptListController"> <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' %} {% include 'go-pro.html' %}
{% endif %} {% endif %}
{% autopaginate snipts 10 %} {% autopaginate snipts 10 %}