Don't show Olark for non-trial/non-pro users.

master
Nick Sergeant 2014-07-28 09:39:58 -04:00
parent d06b6ab180
commit 47d63b0e6c
1 changed files with 39 additions and 37 deletions

View File

@ -417,6 +417,7 @@
{% include 'snipts/snipt-edit-js-template.html' %}
</div>
{% endblock %}
{% if request.user.profile.get_account_age <= 7 or request.user.profile.is_pro %}
{% if not debug %}
{% block olark %}
<!-- begin olark code -->
@ -457,6 +458,7 @@
{% endblock %}
{% endif %}
{% endif %}
{% include 'analytics.html' %}