mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Add Front chat widget.
This commit is contained in:
parent
b19f7a6ea3
commit
ef119402cf
2 changed files with 6 additions and 0 deletions
4
services/web/app/views/front-chat.pug
Normal file
4
services/web/app/views/front-chat.pug
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
- if (settings.overleaf && settings.front.chat_room_id != null)
|
||||||
|
script.
|
||||||
|
window.FCSP = '#{settings.front.chat_room_id}';
|
||||||
|
script(src="https://chat-assets.frontapp.com/v1/chat.bundle.js")
|
|
@ -86,3 +86,5 @@ block content
|
||||||
include ./list/empty-project-list
|
include ./list/empty-project-list
|
||||||
|
|
||||||
include ./list/modals
|
include ./list/modals
|
||||||
|
|
||||||
|
include front-chat
|
||||||
|
|
Loading…
Reference in a new issue