Merge branch 'hotfix/LIL-647' into 'master'

LIL-647 Передавать пользователя в чат

See merge request lilcity/backend!135
remotes/origin/hotfix/LIL-661
cfwme 7 years ago
commit 9db1b59461
  1. 3
      project/templates/lilcity/index.html

@ -42,6 +42,9 @@
<script type="text/javascript">
window.__lc = window.__lc || {};
window.__lc.license = 9917240;
{% if request.user.is_authenticated %}
window.__lc.visitor = { name: '{{ request.user.get_full_name }}', email: '{{ request.user.email }}' };
{% endif %}
(function() {
var lc = document.createElement('script'); lc.type = 'text/javascript'; lc.async = true;
lc.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'cdn.livechatinc.com/tracking.js';

Loading…
Cancel
Save