From d8850a087a2e47a7d94162ec50c75652d4e6cd1a Mon Sep 17 00:00:00 2001 From: Nick Sergeant Date: Mon, 18 Aug 2014 11:08:49 -0400 Subject: [PATCH] Intercom. --- templates/base.html | 113 ++++++++++++++++++++++++++++---------------- 1 file changed, 72 insertions(+), 41 deletions(-) diff --git a/templates/base.html b/templates/base.html index 151d598..04e47be 100644 --- a/templates/base.html +++ b/templates/base.html @@ -417,48 +417,79 @@ {% include 'snipts/snipt-edit-js-template.html' %} {% endblock %} -{% if request.user.is_authenticated %} +{% if request.user.is_authenticated and not debug%} + + {% if request.user.profile.get_account_age <= 7 or request.user.profile.is_pro %} - {% if not debug %} - {% block olark %} - - - - - {% if request.user.is_authenticated %} - - {% endif %} - - {% endblock %} - {% endif %} + {% block olark %} + + + + {% if request.user.is_authenticated %} + + {% endif %} + {% endblock %} {% endif %} {% endif %}