Remove chatlio support chat
Fixes https://jira.coreos.com/browse/QUAY-1000
This commit is contained in:
parent
496d94138c
commit
c2778c7031
4 changed files with 0 additions and 15 deletions
|
@ -198,9 +198,6 @@ class DefaultConfig(ImmutableConfig):
|
|||
# Feature Flag: Whether Google login is supported.
|
||||
FEATURE_GOOGLE_LOGIN = False
|
||||
|
||||
# Feature Flag: whether to enable support chat
|
||||
FEATURE_SUPPORT_CHAT = False
|
||||
|
||||
# Feature Flag: Whether to support GitHub build triggers.
|
||||
FEATURE_GITHUB_BUILD = False
|
||||
|
||||
|
|
|
@ -136,7 +136,6 @@ def render_page_template(name, route_data=None, **kwargs):
|
|||
google_anaytics_key=app.config.get('GOOGLE_ANALYTICS_KEY', ''),
|
||||
sentry_public_dsn=app.config.get('SENTRY_PUBLIC_DSN', ''),
|
||||
is_debug=str(app.config.get('DEBUGGING', False)).lower(),
|
||||
show_chat=features.SUPPORT_CHAT,
|
||||
aci_conversion=features.ACI_CONVERSION,
|
||||
has_billing=features.BILLING,
|
||||
contact_href=contact_href,
|
||||
|
|
|
@ -178,16 +178,6 @@ mixpanel.init("{{ mixpanel_key }}", { track_pageview : false, debug: {{ is_debug
|
|||
</div><!-- /.modal-dialog -->
|
||||
</div><!-- /.modal -->
|
||||
|
||||
{% if show_chat %}
|
||||
<script type="text/javascript">
|
||||
window._chatlio = window._chatlio||[];
|
||||
!function(){ var t=document.getElementById("chatlio-widget-embed");if(t&&window.ChatlioReact&&_chatlio.init)return void _chatlio.init(t,ChatlioReact);for(var e=function(t){return function(){_chatlio.push([t].concat(arguments)) }},i=["configure","identify","track","show","hide","isShown","isOnline"],a=0;a<i.length;a++)_chatlio[i[a]]||(_chatlio[i[a]]=e(i[a]));var n=document.createElement("script"),c=document.getElementsByTagName("script")[0];n.id="chatlio-widget-embed",n.src="https://w.chatlio.com/w.chatlio-widget.js",n.async=!0,n.setAttribute("data-embed-version","2.1");
|
||||
n.setAttribute('data-widget-id','b65028b3-f2f1-4cba-6e93-2aa66990e3e4');
|
||||
c.parentNode.insertBefore(n,c);
|
||||
}();
|
||||
</script>
|
||||
{% endif %}
|
||||
|
||||
{% if google_tagmanager_key %}
|
||||
<!-- Google Tag Manager (hooked up to CrossDomain) -->
|
||||
<noscript><iframe src="//www.googletagmanager.com/ns.html?id={{ google_tagmanager_key }}"
|
||||
|
|
|
@ -18,7 +18,6 @@ INTERNAL_ONLY_PROPERTIES = {
|
|||
'NAMESPACE_GC_QUEUE_NAME',
|
||||
|
||||
'FEATURE_BILLING',
|
||||
'FEATURE_SUPPORT_CHAT',
|
||||
'BILLING_TYPE',
|
||||
|
||||
'INSTANCE_SERVICE_KEY_LOCATION',
|
||||
|
|
Reference in a new issue