mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Merge pull request #350 from sharelatex/pr-front-chat-widget
Front chat widget
This commit is contained in:
commit
b2556814fd
4 changed files with 10 additions and 0 deletions
|
@ -86,3 +86,5 @@ block content
|
|||
include ./list/empty-project-list
|
||||
|
||||
include ./list/modals
|
||||
|
||||
include ./list/front-chat
|
||||
|
|
4
services/web/app/views/project/list/front-chat.pug
Normal file
4
services/web/app/views/project/list/front-chat.pug
Normal file
|
@ -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")
|
|
@ -1 +1,2 @@
|
|||
@import "app/sidebar-v2-dash-pane.less";
|
||||
@import "app/front-chat-widget.less";
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
#front-chat-holder > div[role=button] {
|
||||
margin-bottom: @footer-height;
|
||||
}
|
Loading…
Reference in a new issue