diff --git a/dmp-frontend/src/app/ui/annotations/annotation-dialog-component/annotation-dialog.component.html b/dmp-frontend/src/app/ui/annotations/annotation-dialog-component/annotation-dialog.component.html index 2ab76a4a5..c0c1d6b9c 100644 --- a/dmp-frontend/src/app/ui/annotations/annotation-dialog-component/annotation-dialog.component.html +++ b/dmp-frontend/src/app/ui/annotations/annotation-dialog-component/annotation-dialog.component.html @@ -48,67 +48,41 @@
{{'ANNOTATION-DIALOG.TITLE' | translate}}
-
- -
-
-
-
-
-
-
-
-
-
- profile-picture -
-
-
- {{'ANNOTATION-DIALOG.THREADS.FROM-USER' | translate}} {{getParentAnnotation(thread).author.name}} -
{{getParentAnnotation(thread).timeStamp | date:'EEEE, MMMM d, y, h:mm a'}}
-
-
-
{{getParentAnnotation(thread).payload}}
-
-
-
{{getAnnotationProtectionType(thread)}}
-
{{getAnnotationProtectionType(thread)}}
-
-
-
-
-
-
+ +
+
+ {{getAnnotationProtectionType(thread)}}
- - -
-
-
-
-
-
-
-
-
-
-
-
-
-
- profile-picture -
-
-
-
- {{'ANNOTATION-DIALOG.THREADS.FROM-USER' | translate}} - {{annotation.author.name}} +
+
+ {{getAnnotationProtectionType(thread)}} +
+
+
+ +
+
+
+
+
+
+
+
+
+
+ profile-picture +
+
+
+ {{getParentAnnotation(thread).author.name}} +
{{getParentAnnotation(thread).timeStamp | date: "d MMMM, y 'at' h:mm a"}}
+ + +
+
+
{{getParentAnnotation(thread).payload}}
-
{{annotation.timeStamp | date:'EEEE, MMMM d, y, h:mm a'}}
-
-
-
{{annotation.payload}}
@@ -116,33 +90,69 @@
-
- - -
-
+ +
+
+
+
+
+
+
+
+
+
+
+
+
+
+ profile-picture +
+
+
+
+ {{annotation.author.name}} +
+
{{annotation.timeStamp | date:"d MMMM, y 'at' h:mm a"}}
+ +
+
+
{{annotation.payload}}
+
+
+
+
+
+
+
+
- - {{'ANNOTATION-DIALOG.THREADS.REPLY' | translate}} - - - add_reaction - - - -
- + + +
+
+ + + {{'ANNOTATION-DIALOG.THREADS.REPLY' | translate}} + + + add_reaction + + + +
+ +
-
+
\ No newline at end of file diff --git a/dmp-frontend/src/app/ui/annotations/annotation-dialog-component/annotation-dialog.component.scss b/dmp-frontend/src/app/ui/annotations/annotation-dialog-component/annotation-dialog.component.scss index 7d23646a4..b67b02dd9 100644 --- a/dmp-frontend/src/app/ui/annotations/annotation-dialog-component/annotation-dialog.component.scss +++ b/dmp-frontend/src/app/ui/annotations/annotation-dialog-component/annotation-dialog.component.scss @@ -75,3 +75,13 @@ $mat-card-header-size: 40px !default; border-radius: 50%; flex-shrink: 0; } + +.thread { + padding: 1em 0 0 0; + background-color: #F5F5F5; + margin: 1em 0 0 0; +} + +.user { + font-weight: bold; +}