Sfoglia il codice sorgente

Add Front chat widget.

Paulo Reis 8 anni fa
parent
commit
ef119402cf

+ 4 - 0
services/web/app/views/front-chat.pug

@@ -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")

+ 2 - 0
services/web/app/views/project/list.pug

@@ -86,3 +86,5 @@ block content
 						include ./list/empty-project-list
 
 		include ./list/modals
+
+	include front-chat