Dont show announcement to pro
parent
851908a6f2
commit
ebedceb3bd
|
@ -44,7 +44,9 @@
|
|||
|
||||
{% block content %}
|
||||
<section class="snipts" id="snipts">
|
||||
<div class="alert alert-info site-notice">Announcing <a href="/pro/">Snipt Pro</a>. Support Snipt and get exclusive features for only $19/year.</div>
|
||||
{% if not request.user.profile.is_pro %}
|
||||
<div class="alert alert-info site-notice">Announcing <a href="/pro/">Snipt Pro</a>. Support Snipt and get exclusive features for only $19/year.</div>
|
||||
{% endif %}
|
||||
{% with 'true' as detail %}
|
||||
{% include "snipts/snipt-list.html" %}
|
||||
{% endwith %}
|
||||
|
|
|
@ -13,7 +13,9 @@
|
|||
|
||||
{% block content %}
|
||||
<section class="snipts" id="snipts">
|
||||
<div class="alert alert-info site-notice">Announcing <a href="/pro/">Snipt Pro</a>. Support the development of Snipt and get exclusive features for only $19/year.</div>
|
||||
{% if not request.user.profile.is_pro %}
|
||||
<div class="alert alert-info site-notice">Announcing <a href="/pro/">Snipt Pro</a>. Support the development of Snipt and get exclusive features for only $19/year.</div>
|
||||
{% endif %}
|
||||
{% autopaginate snipts 10 %}
|
||||
{% for snipt in snipts %}
|
||||
{% include "snipts/snipt-list.html" %}
|
||||
|
|
Loading…
Reference in New Issue