diff --git a/sao/CHANGELOG b/sao/CHANGELOG index af76c99880..fcee2db1f5 100644 --- a/sao/CHANGELOG +++ b/sao/CHANGELOG @@ -1,3 +1,4 @@ +* Allow users to subscribe to chats * Manage user notification * Add search on empty relation field to domain parser * Escape completion content with custom format (issue14363) diff --git a/sao/images/tryton-notification-off.svg b/sao/images/tryton-notification-off.svg new file mode 100644 index 0000000000..f48b825d32 --- /dev/null +++ b/sao/images/tryton-notification-off.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/sao/images/tryton-notification-on.svg b/sao/images/tryton-notification-on.svg new file mode 100644 index 0000000000..1582e4d409 --- /dev/null +++ b/sao/images/tryton-notification-on.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/sao/src/chat.js b/sao/src/chat.js index f8ac11b425..bc27560ae4 100644 --- a/sao/src/chat.js +++ b/sao/src/chat.js @@ -50,6 +50,59 @@ 'class': 'chat', }); + let btn_group = jQuery('
', { + 'class': 'btn-group', + 'role': 'group', + }).appendTo(el); + + let subscribe_btn = jQuery('