From 29ec8492ae402f057eb95a1d7e159217c628e37c Mon Sep 17 00:00:00 2001 From: leejh Date: Mon, 21 Oct 2019 18:10:39 +0900 Subject: [PATCH] bugfix --- .../message-box/date-splitter.component.html | 3 +- .../message-box/date-splitter.component.ts | 2 +- .../message-box/information.component.html | 4 +- .../message-box/mass.component.html | 5 +- .../message-box/mass.component.scss | 6 + .../lib/components/messages.component.html | 122 +++++++++--------- 6 files changed, 75 insertions(+), 67 deletions(-) diff --git a/projects/ucap-webmessenger-ui-chat/src/lib/components/message-box/date-splitter.component.html b/projects/ucap-webmessenger-ui-chat/src/lib/components/message-box/date-splitter.component.html index 78be71cf..19a36c2d 100644 --- a/projects/ucap-webmessenger-ui-chat/src/lib/components/message-box/date-splitter.component.html +++ b/projects/ucap-webmessenger-ui-chat/src/lib/components/message-box/date-splitter.component.html @@ -1,6 +1,5 @@
- - {{ dateInfo }}2019.10.3 + {{ dateInfo }}
diff --git a/projects/ucap-webmessenger-ui-chat/src/lib/components/message-box/date-splitter.component.ts b/projects/ucap-webmessenger-ui-chat/src/lib/components/message-box/date-splitter.component.ts index f7356003..3f4d4891 100644 --- a/projects/ucap-webmessenger-ui-chat/src/lib/components/message-box/date-splitter.component.ts +++ b/projects/ucap-webmessenger-ui-chat/src/lib/components/message-box/date-splitter.component.ts @@ -18,7 +18,7 @@ export class DateSplitterComponent implements OnInit { ngOnInit() { this.dateInfo = this.datePipe.transform( this.message.sendDate, - 'yyyy-MM-dd EEE' + 'yyyy.MM.dd EEE' ); } } diff --git a/projects/ucap-webmessenger-ui-chat/src/lib/components/message-box/information.component.html b/projects/ucap-webmessenger-ui-chat/src/lib/components/message-box/information.component.html index 899a0e49..d54534ca 100644 --- a/projects/ucap-webmessenger-ui-chat/src/lib/components/message-box/information.component.html +++ b/projects/ucap-webmessenger-ui-chat/src/lib/components/message-box/information.component.html @@ -1,3 +1,3 @@ -

+

{{ contents }} -

+
diff --git a/projects/ucap-webmessenger-ui-chat/src/lib/components/message-box/mass.component.html b/projects/ucap-webmessenger-ui-chat/src/lib/components/message-box/mass.component.html index cc60a60c..42373c8e 100644 --- a/projects/ucap-webmessenger-ui-chat/src/lib/components/message-box/mass.component.html +++ b/projects/ucap-webmessenger-ui-chat/src/lib/components/message-box/mass.component.html @@ -1,12 +1,11 @@
- + {{ content }} {{ message.sendDate | date: 'short' }}
- {{detailButteonShow}}
- +
diff --git a/projects/ucap-webmessenger-ui-chat/src/lib/components/message-box/mass.component.scss b/projects/ucap-webmessenger-ui-chat/src/lib/components/message-box/mass.component.scss index aa2dfae1..ddad5bc9 100644 --- a/projects/ucap-webmessenger-ui-chat/src/lib/components/message-box/mass.component.scss +++ b/projects/ucap-webmessenger-ui-chat/src/lib/components/message-box/mass.component.scss @@ -1,6 +1,12 @@ +@charset 'utf-8'; +@import '../../../../ucap-webmessenger-app/src/assets/scss/global/common.scss'; .bubble-main { padding: 14px; text-align: left; + .content { + max-width: 250px; + @include ellipsis(1); + } } .btn-box { diff --git a/projects/ucap-webmessenger-ui-chat/src/lib/components/messages.component.html b/projects/ucap-webmessenger-ui-chat/src/lib/components/messages.component.html index 44021797..d07c3966 100644 --- a/projects/ucap-webmessenger-ui-chat/src/lib/components/messages.component.html +++ b/projects/ucap-webmessenger-ui-chat/src/lib/components/messages.component.html @@ -1,8 +1,5 @@
- - -
+
+ + +
- - +
- {{ getUserName(message.senderSeq) }} + {{ getUserName(message.senderSeq) }}
-
- - + - - - - - - - - -
- mass-translation - - notice - - - translation - - video-conference - + + + + + + + + + +
+ mass-translation + + notice + + + translation + + video-conference + -
- {{ message.sentMessage }} +
+ {{ message.sentMessage }} +
-
- + +
-
{{ message.sendDate | date: 'a hh:mm' }}