Paulo Reis 8 лет назад
Родитель
Сommit
ef119402cf
2 измененных файлов с 6 добавлено и 0 удалено
  1. 4 0
      services/web/app/views/front-chat.pug
  2. 2 0
      services/web/app/views/project/list.pug

+ 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/empty-project-list
 
 
 		include ./list/modals
 		include ./list/modals
+
+	include front-chat