Skip to content

Commit

Permalink
ch(live chats):Add templates to activate live chats
Browse files Browse the repository at this point in the history
  • Loading branch information
Ace authored and Ace committed Sep 20, 2017
1 parent 2aebdbf commit 750e1bc
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,19 @@
<li><a href="{% url 'hc-pricing' %}">Pricing</a></li>
{% endif %}
<li><a href="{% url 'hc-about' %}">Contact</a></li>
<li>
<!-- ClickDesk Live Chat Service for websites -->
<script type='text/javascript'>
var _glc =_glc || []; _glc.push('all_ag9zfmNsaWNrZGVza2NoYXRyEgsSBXVzZXJzGICAoNPjiZIJDA');
var glcpath = (('https:' == document.location.protocol) ? 'https://my.clickdesk.com/clickdesk-ui/browser/' :
'http://my.clickdesk.com/clickdesk-ui/browser/');
var glcp = (('https:' == document.location.protocol) ? 'https://' : 'http://');
var glcspt = document.createElement('script'); glcspt.type = 'text/javascript';
glcspt.async = true; glcspt.src = glcpath + 'livechat-new.js';
var s = document.getElementsByTagName('script')[0];s.parentNode.insertBefore(glcspt, s);
</script>
<!-- End of ClickDesk -->
</li>
</ul>
</div>
</footer>
Expand Down

0 comments on commit 750e1bc

Please sign in to comment.