mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
Update to comments for 508 compliance with translation (#2386)
* 508 fixes to bring the comments table into compliance. The <thead> element must be visible to users and <th> must display text that indicates what resides in the columns below. * Updated to properly use the i18 translation
This commit is contained in:
committed by
Denys Vuika
parent
9af78dc240
commit
fcd01d6668
@@ -3,7 +3,7 @@
|
|||||||
(rowClick)="selectComment($event)" *ngIf="hasComments()">
|
(rowClick)="selectComment($event)" *ngIf="hasComments()">
|
||||||
|
|
||||||
<data-columns>
|
<data-columns>
|
||||||
<data-column key="createdBy">
|
<data-column key="createdBy" title="{{'TASK_DETAILS.COMMENTS.CREATED_BY_HEADER' | translate }}">
|
||||||
<ng-template let-entry="$implicit">
|
<ng-template let-entry="$implicit">
|
||||||
<div id="comment-user-icon"
|
<div id="comment-user-icon"
|
||||||
class="adf-comment-img-container">
|
class="adf-comment-img-container">
|
||||||
@@ -18,7 +18,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
</data-column>
|
</data-column>
|
||||||
<data-column key="message">
|
<data-column key="message" title="{{'TASK_DETAILS.COMMENTS.MESSAGE_HEADER' | translate }}">
|
||||||
<ng-template let-entry="$implicit">
|
<ng-template let-entry="$implicit">
|
||||||
<div class="adf-comment-contents">
|
<div class="adf-comment-contents">
|
||||||
<div id="comment-user" class="adf-comment-user-name">
|
<div id="comment-user" class="adf-comment-user-name">
|
||||||
|
|||||||
@@ -53,9 +53,6 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
&-datatable /deep/ table {
|
&-datatable /deep/ table {
|
||||||
thead {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
border: none !important;
|
border: none !important;
|
||||||
tbody td {
|
tbody td {
|
||||||
padding: 0px !important;
|
padding: 0px !important;
|
||||||
|
|||||||
@@ -46,6 +46,8 @@
|
|||||||
"NONE": "No comments",
|
"NONE": "No comments",
|
||||||
"ADD": "Add a comment",
|
"ADD": "Add a comment",
|
||||||
"HEADER": "Comments",
|
"HEADER": "Comments",
|
||||||
|
"CREATED_BY_HEADER": "Created by",
|
||||||
|
"MESSAGE_HEADER": "Message",
|
||||||
"DIALOG": {
|
"DIALOG": {
|
||||||
"TITLE": "New comment",
|
"TITLE": "New comment",
|
||||||
"LABELS": {
|
"LABELS": {
|
||||||
|
|||||||
Reference in New Issue
Block a user