diff --git a/services/web/app/views/project/list.pug b/services/web/app/views/project/list.pug index dc5f2c16b2..3abcde9ba7 100644 --- a/services/web/app/views/project/list.pug +++ b/services/web/app/views/project/list.pug @@ -86,3 +86,5 @@ block content include ./list/empty-project-list include ./list/modals + + include ./list/front-chat diff --git a/services/web/app/views/project/list/front-chat.pug b/services/web/app/views/project/list/front-chat.pug new file mode 100644 index 0000000000..765bddc42a --- /dev/null +++ b/services/web/app/views/project/list/front-chat.pug @@ -0,0 +1,4 @@ +- if (settings.overleaf && settings.front && 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") \ No newline at end of file diff --git a/services/web/public/stylesheets/_ol_style_includes.less b/services/web/public/stylesheets/_ol_style_includes.less index f2832bd219..921b20f727 100644 --- a/services/web/public/stylesheets/_ol_style_includes.less +++ b/services/web/public/stylesheets/_ol_style_includes.less @@ -1 +1,2 @@ @import "app/sidebar-v2-dash-pane.less"; +@import "app/front-chat-widget.less"; diff --git a/services/web/public/stylesheets/app/front-chat-widget.less b/services/web/public/stylesheets/app/front-chat-widget.less new file mode 100644 index 0000000000..84da28ca7a --- /dev/null +++ b/services/web/public/stylesheets/app/front-chat-widget.less @@ -0,0 +1,3 @@ +#front-chat-holder > div[role=button] { + margin-bottom: @footer-height; +} \ No newline at end of file