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

master
Nick Sergeant 2014-07-29 15:54:15 -04:00
parent 47d63b0e6c
commit e1989b85d0
1 changed files with 40 additions and 38 deletions

View File

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